Added conditional on route paths for changes in Rails 4

* Fixes #48
* Added a conditional to test for Rails 4 and above when appending to paths
* Updated routes to use get verb for Rails 4 and above
Merge pull request #49 from sgerrand/conditional_paths_for_config_routes_in_rails4

Added conditional on paths[config/routes] to accommodate changes in Rails 4