Added ruby_22? and friends to CurrentRuby.

Backported #3189 to the 1.7 branch.
Looks like `mri_22` was omitted here. #3328 should address this.