Refactored the DtdContainer to support children
Extended tests
Added text declaration to DTD