Improve the dots parsing.
This includes removal of the dependency to expat and to make it more convenient to use the parsing module in stand-alone tools like the Bume-editor, Doit etc.
Merged into trunk for 5.0 release!
Merged into trunk for 5.0 release!