Fix tests with rails4

this fixes all the tests (except render tests) with rails 4 (only). other things to do:

* enable render helper tests and fix them
* intergrate travis for sqlite3, mysql, and postgresql
* fix deprecated warnings with rails4
* cleanup tests to have proper setup and teardown. its better to move to minitest.