Assume `to_json` to be safe in Rails 4
Add tests for `to_json` in Rails 4
Merge pull request #392 from presidentbeef/to_json_escaped_in_rails4

Do not warn about XSS with `to_json` in Rails 4