Added a runlocal command to manage.py to allow local testing more easily
Improved runlocal slightly to drop database tables and session after server is stopped.
Merge branch 'runlocal' into permissions