Add 4 to version sniffing code

Fixes #336
I would create a new "Rails 4" context.