Adds support for rails 3

This pull requests includes the following changes:
  - Updates save_path to "app/assets/javascripts/" for rails 3 applications (For asset pipeline support)
  - Updates the generate_routes_for_rails_3 method to provide the proper path for each processed route