add wait for brokering to start

Change-Id: Ifa6f336e29ba765f64eb6bc29f938b791f5eb2ac
added stop brokering

Change-Id: I8f2f4488ec722511b792ebb196a53b669559370b
currect indentation

Change-Id: I35d6011511eccadc6986b2ab01e107e64b62b200
cleaned up the api

Change-Id: I392822fc17becdcb9702fecc6049f8a28670becd
fix missed a function name change

Change-Id: I4b3ba0e542daa2caa966695448f518cbf73cab6f
Remus worker now support an async set of calls to get a job from the server.

Previously the getJob method was the only way to get a job from
the server, and it was a blocking call. Now you can submit a request
for the number of jobs you want, you can query how many jobs you have pending
and you can fetch the jobs now.

Change-Id: I49bfdbaefb98873a118d16a99c40d20c2bd1328e
Merge branch 'async_worker'

Change-Id: I1d44eb0aa093fd1a173b7d3200b93ee616a91b08