Add postgresql range types support
Merge pull request #7345 from slbug/master

Postgresql range support
ActionDispatch::Http::UploadedFile is a permitted scalar [Closes #9051]
Fix PostgreSQL tests on Travis

Travis only has PostgreSQL 9.1.x but 9.2 is required for range datatypes.
Depend on thor >= 0.17.0
Removed transaction state object and replaced it with ObjectSpace and uuid creation. Created a test for memory bloat.