change regexp matchin Ruby versions to support Ruby2.1

The regexp now matches 1.9.x and 2.x versions of Ruby MRI. This makes gherkin support Ruby2.1 and fixes test issues described in https://github.com/cucumber/gherkin/issues/305.