Get ready for invoke support

moved celery tasks.py to jobs.py so that tasks.py can be
used for invoke commands instead