Integrate test suite with tox

This should make running the test suite much easier :) I've moved the settings out of the schemamigration.py script and into a test_settings.py module that can then be used by the script and the test-runner.
My bad, code is fine.
It useful for generating migrations without setting up a complete project