Remove c++ Parser class

Now, Document::setParser just expects an object with the right
internal field count