Added XMLParser class for providing a convenient way to read XML for things like scripted dialog.