add test
fix build. separate antlr3,4 gen dirs
Merge branch 'master' into fix-661
After gen of antlr 4.4 jar, rebuild XPathLexer with 4.4 then remake jars.
Merge branch 'master' into fix-661
Fixes #661.  A parser rule reference within a lexer rule would get a bad error message and then an exception. Further, errors within the grammar tree visitor would go to standard error instead of to an error manager because none of the subclasses implemented getErrorManager(). Introduced an error type for this error PARSER_RULE_REF_IN_LEXER_RULE. Added to unit test.
Merge pull request #662 from parrt/fix-661

Fix 661