[#813] Fixed bugs that full dataset revealed

- added pg_alts.py a script that alters to the column
  types Django expects from Postgres.
- fixed flaky asserts by using other module load routine
- renamed validate_postgres.py to pg_tests.py
- created migration script