updated DOM parsing of XML in unit tests.
Merge branch 'release0.4.0' of https://github.com/almende/dialog into release0.4.0