Test N3 formula serialization.
Merge https://github.com/ericpeden/rdflib
Added ordering for QuotedGraph and GraphValue, graceful degradation for other sub-classes of node. fixes #291