Remove the primitive parser and fall back to libxml2

Fixes #154
Fixes #49