Treat EOF transitions in the ATN as epsilon transitions after the first EOF transition is traversed
Remove incorrectly generated call to adaptivePredict

This particular call to adaptivePredict did not correctly match the decision number to the preceding setState() call. In addition, since this code is generated only for a positive closure, the only possible alternative is the one that enters the loop; error handling is deferred to the alternative(s) within the body of the closure.
adaptivePredict never returns -1; it could return ATN.INVALID_ALT_NUMBER
Merge pull request #531 from sharwell/eof-transitions

Treat EOF transitions in the ATN as epsilon transitions...
Merge pull request #532 from sharwell/codegen-fixes

Codegen fixes
Add regression test for issue #529
Try to choose an alternative that passes semantic predicates in getAltThatFinishedDecisionEntryRule (fixes #529)
Extensively document getAltThatFinishedDecisionEntryRule and remove unnecessary parameter