Unified conversion of openclose elements in tree and list items from a to div; changed DOCTYPE of all documents to HTML5