Add generators for db requests

Added hash generators for convertion from Axiom::Relation instances to valid mongo hashes