Moving the Hubbub parser creation to its own function

First step to implement innerHTML (see issue #849) is to allow creation of a Parser object decoupled from parse_html().