upped json dependencies
update rspec dependency
removed rspec deprecation warnings

* Replaced mock(XXX) by double(:XXX)
* Replaced xxx.stub!() by xxx.stub()
* Removed a couple unused variables
Merge pull request #24 from kikito/update-dependencies

Update dependencies