Add fix for migrations 0004 when using MySQL
Remove debug toolbar middleware from test settings
Add test for migrations on mysql/postgres
Fix postgres migration issues