Working on getting the RestDatabase work using the same RSpecs that CypherDatabase uses.

Some code duplication ...