celery stuff: added custom loader + class to create app in workers and  properly push/pop app context around task execution

Revert "Revert "set celery default task aware of app context; periodic_task decorator should be used instead of celery's one.""

This reverts commit 0758f66b00e6de3f95fdf821f8ab7f894306a854.