Added Travis-CI build configuration
Travis-CI runs the :default task, so add :test as a dependency
Adds badges for various data points
Added switch in Gemfile, corrected class constant

* Added version switch for railties gem version for Ruby versions < 1.9
* Corrected the class constant used for comparison in test
Added switch to handle Rails versions prior to 3.1
Removed ruby-head for the time being

* Dying on Travis-CI with Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)
Merge pull request #6 from sgerrand/adds-travis-ci-configuration

Adds tests, Travis-CI configuration and code data badges