Also, adds new method WaitForReady() into NfdMaster. In practice, this quite widely tests nfd-master, too, as the tests create an instance of NfdMaster and verify that the communication between master and worker works.