Update vendored gems

This updates the Rails gems from 2.3.14 to 2.3.17, json_pure to 1.5.1 from 1.5.5, and rack from 1.1.2 to 1.1.6.