Added license terms to source code files, and cleaned up some javadocdocumentation in a few places.
Added "release" keyword to all metacat source files so that the releasenumber will be evident in software distributions.
Added feature to now ouput COMMENTs and PIs when the document isread from the database with DBReader.