Add libxml2 to build deps
Add init/cleanup for libxml2
Add base for an exception hierarchy