[WIP] New error handling

Refactoring `HTML5` class to be as https://github.com/Masterminds/html5-php/issues/33#issuecomment-42922963