fix null pointer bug with rule "a : a;"
Merge pull request #376 from parrt/master

fix null pointer bug with rule "a : a;"
Clean up the caching of ATN instances with bypass alternatives
Clean up the result caching for getTokenTypeMap and getRuleIndexMap
Remove unused method Lexer.nextTokenOrRuleToken
Remove unnecessary testing constructor
Remove unnecessary methods ParseTreeMatch.getText() and failed() (use getTree().getText() and !succeeded() instead)
Updated documentation for Token and TokenSource
Updated documentation and API encapsulation for tree patterns
Fix small warnings in XPath
Make utility methods in ATNDeserializer static
Use ATNDeserializer methods instead of deprecated ATNSimulator methods
Move ATNSerializer to runtime
Use ATNDeserializer methods instead of deprecated ATNSimulator methods
Merge pull request #377 from sharwell/atn-serializer

ATN serializer
Merge pull request #378 from sharwell/polish

Tree patterns polish
update change list
Merge pull request #379 from parrt/master

update change list
get last not first when get() finds multiple matching nodes.
intellij git missed these files