Merge pull request #6 from hnousiainen/master

Refactoring
worker: fix missing log argument in worker_base.py
distcilib: refactor to slightly friendlier API