Some formatting and streamlining for the SubGraphExporter

Specifically being more defensive against a future where indexes and constraints
might have more than one property key.

Also note that the `exportIndexes`, `exportConstraints` and `quote` methods are now private. I did this under the assumption that they weren't public API.