Added domrepr, and restructured parser a bit more.
Support blank nodes.