[WIP] cleaning up rdf branch

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