Removing the Rails dependency.

Inclusion of the helper method is now conditional and requires that
Rails::Railtie is defined. (Using #defined?)
Adding a Travis CI configuration.