Rails and JSON gem security updates

Bumped Rails version to 2.3.17 and JSON to 1.7.7

Rails release post: http://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released/