Fixes bug 910350 Add function to fix permissions on tables
* Created socorro.lib.migrations for useful utilities
* Moved CITEXT and JSON types into socorro.lib as well