Remove rails dependency.
Added TravisCI configuration.