Introduce HtmlParser.

In order to begin the next part: parsing css, we can reuse several utils
function, like eof(), comsume_char() etc. In the commit, the work that parsing
html is moved into class HtmlParser, and the original class Parser will become
the basic class of HtmlParser and CassParser.