[WIP] cleaning up rdf branch

Items done and not done.

[X] bringing upto date with current master. 
[ ] tests
[ ] blank node rdflib turtle serialization needs fixing
[ ] rdf de-serialization - should we attempt at this stage?