Increase version scope of `railties` dependency

`>= 3.1` will allow for `rails` 4.x