Various style fixes
Avoid mixing spaces and tabs
Fix pep8 errors in migrations (just for the heck of it)