Merge pull request #88 from le0pard/master

Fix jruby support
Use the `for` operator to detect for `to_param` and `id` in objects
Merge pull request #87 from dark-panda/path-identifier-falsy-values

Use the `of` operator to detect for `to_param` and `id` in objects
Add test exposing thread safety issue with js-route generation.
Remove routes reload form js_routes to remove thread contention.

To see an example of the issue see
https://github.com/alexaitken/js_routes_failure
Move config/routes.rb into spec directory.
Merge pull request #90 from alexaitken/master

Correct thread safety issue in js-routes generation