Add ruby 1.8.7 compatibility for bare projects

In projects not using rails, this gem doesn't work unless json_pure is in your bundle.

So I've added it as a dependency.