chore(dom/parsing): add error handler to handle parser errors
fix(tests): truncate result string to work with was-jdk

The was-jdk out has another ordering of the attributes of
the definitions element. It can be ignored cause the only
the position of the comments should be tested.
refactor(bpmn-model): rename activiti namespace to camunda
refactor(namespace): rearrange the namespace registration