Update json to 1.7.7

Older versions of the json gem had vulnerabilities discussed at https://groups.google.com/forum/#!topic/rubyonrails-security/4_YvCpLzL58/discussion . Further reading: http://www.zweitag.de/en/blog/ruby-on-rails-vulnerable-to-mass-assignment-and-sql-injection