Smaller improvements in error handling
Added support for DTD validation
Renamed configuration files
Moved teiHeader element to separate file