Adding a new env to handle escalating privileges to run db migrations.
Better error handling.
Adding comments.
Merge pull request #133 from edx/e0d/migrate-as-other-user

Adding a new env to handle escalating privileges to run db migrations.