Prepare to process an imagefile when upload concludes
Create celery app with flask app context attached to each task it runs
Move convenience methods to Session model
Refactor tasks for cyclic dependencies and nicer code
Remove pdb dependency