add support for onparserinit event callback

So that handler can obtain reference to the Parser
(and then access Parser.startIndex)
Refs https://github.com/fb55/domhandler/issues/7
Merge pull request #106 from cvrebert/onparserinit

add support for onparserinit event callback