Fixed up the TEI Header creation, which allows the structure of the cwrc doc to load correctly. Also fixed up pagenatation.
Fixed up the structure and appearance of the cwrcwriter and cwrcwriter doc. RDF Header info needs to be added back to the document structure. Operates in pure XML mode at the moment.