Create dtdParser.js

a tool which reads xml DTD content string and parses it into a tree data structure