BZ-996028: upgrading to ANTLR 3.5
(cherry picked from commit 2158315fbf0f186cb034b952fbc67665224f6be4)
BZ-996028: removing unnecessary dependencies
(cherry picked from commit edaee19869a0ec3f5a5b719a630538a0a0887821)