Added some std::string util methods for stripping.
Corrected typo in is_int.
Added basic error recovery to the HTML lexer.