Require the json gem

It's needed for Ruby 1.8.x for the JSON
params parsing patch (CVE-2013-0333):
https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/1h2DR63ViGo