Refactored perform_tasks code.
- Moved USE_MULTIPROCESSING to settings-develop.py.
Merge branch 'master' into tests