Refactor of RDF Generator classes and tests

Refactored out boiler plate code in JSON RDF tests
Turned OfflineRdfGenerator into an actual class
Deprecated just passing in a print writer to RDF Generators
Cleanup
Missing TestJSONRDFGeneratorFile