Fix to run tests
Disabled `protect_from_forgery`

Because of the following error:
```
ActionController::InvalidCrossOriginRequest: Security warning: an
embedded <script> tag on another site requested protected JavaScript. If
you know what you're doing, go ahead and disable forgery protection on
this action to permit cross-origin JavaScript embedding.
```
Support both the `_render_option_json` and the newer `_render_with_renderer_json` methods
Remove usage of %i
Merge pull request #655 from wouterw/ww-rails-4.2.0

Fix Rails Master
Merge pull request #644 from tricknotes/fix-0.8-tests

Fix to run 0.8-stable's tests