Spec changes for Rails 4 compatibility, Travis CI integration

1) Refactored spec directory so there is one set of specs and one dummy application.
2) Updated gemspec to allow Rails 4.  
3) Updated specs so that they run cleanly in Rails 4.  
4) Added .travis.yml
5) Updated specs to drive Rails version selection from an environment variable.