worker: fetch_task to accept timeout of 0 for single pass check
tests: frontend-tasks, whitespace cleanup
worker: return tasks object from all worker_base calls; add get_tasks
tests: use http server.shutdown() in test teardown functions
Merge pull request #6 from hnousiainen/master

Refactoring