New worker and job formats

Moves the EventMachine handling from the job to the worker
and adds a BaseJob class to provide an interface for job classes.
This decouples business logic from execution logic adding
flexibility
Merge pull request #118 from threefunkymonkeys/97-bis_new_worker_jobs_format

97 bis new worker jobs format