Add Ruby 1.8-compatible JSON compilation database support

Extends #61 

## Additions

* Vendors `generator.rb` and `parser.rb` from the `json_pure` gem, loading only when no default JSON implementation is found
  * `generator.rb` is loaded during database generation and handles writing the file
  * `parser.rb` is loaded during feature runs to inspect test output