[FIXED JENKINS-25897] Add range check for H(X-Y) syntax

Do we need to retain backwards compatibility with this class?

---

New and improved:

![screen shot](https://cloud.githubusercontent.com/assets/1831569/5533276/e625fe72-8a44-11e4-9a26-0d96900a3fd4.png)

BTW you can also use `@Test(expected=ANTLRException.class)`. I tend to use the more verbose idiom you have here because it is more general—you can include multiple such assertions in sequence, etc.