add support for onparserinit event callback

So that the handler can obtain a reference to the `Parser` (and then access `Parser.startIndex` in its other callbacks).
Refs https://github.com/fb55/domhandler/issues/7
I am happy to add a unit test if necessary, just need a little guidance on how to go about that.