Using StAX parser as primary parser
* Also improved reliability of Namespace handing
* Moved javax.xml-related code to separate files