Revert "SSLR-264 GrammarFunctions should return Object instead of Matcher"

This reverts commit 215aa7b96619025092466232b619dd74cb3636b3,
because it leads to binary incompatibility.