add support for rails 4
adjust gemspec path
adjust gemspec path and add pry-rails
use major version instead of checking for exaction version string of rails
make controllers respond to js also, and factor out location
bump up the version which supports rails 4
Merge pull request #2 from code-mancers/rails4

Rails4