Merge pull request #14 from SmilyOrg/development

added stateCallback for exposing lexer state