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