define log before import settings in celery_app

otherwise nothing works if settings.py isn't defined
Merge pull request #197 from mistio/fix_celery_log_order

define log before import settings in celery_app