Bugfix, nagios script did not work.
Merge pull request #23 from alphacomm/bugfix-nagios

Fix nagios check script.
Fix the Travis CI Configuration.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
Merge pull request #21 from jacobkiers/feature/fix-travis

Fix the Travis CI Configuration.
Improved comments on Stream::handle().
Don't use void returns.
Unused usages.
Fixed docblock for WorkerHandler::getStream().
Fix timeout issues between Client and ClientHandler.

The function handle may not take longer than MAX_MANAGER_DELAY, otherwise the Client will
get a "AlphaRPC did not respond in time" message.
Fixed execution time of WorkerHandler::handle().

This prevents a timeout between ClientHandler and WorkerHander.
When the timeout occurs, the ClientHandler will invalidate the WorkerHandler
which results in a redispatch of all jobs.
Send a heartbeat every WorkerHandler::handle() call.

This is to prevent the WorkerHandler from being invalidated in
the ClientHandler.
Merge pull request #27 from alphacomm/bugfix-timeouts

Fixes a few potential time-outs in the ClientHandler and WorkerHandler.
Add documentation on creating a Worker.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
Merge pull request #26 from jacobkiers/add-worker-documentation

Add documentation on creating a Worker.