Expose the document type (DOCTYPE) of the current page. Addresses issue #45.