Proper initialization of mState
Moved Lexer's static private functions to anonymous namespace in .cpp file
Added names to constructor parameters
Moved setting of next state to within consume