Add manage.py file for opening a shell and testing.
Replace old runtests.py script with new manage.py interface.
Merge branch 'master' into manage-py