Adds the ability to use a custom route set

Previously the routing definitions were driven by the config/routes.rb
file in a rails application.  This is not always what you want to
expose, so this allows us to set a custom route set for use in
generating JsRoutes