Add Rails4 Railties file.

For now I've kept this identical to the Rails32 one. I've also added
Rails4 checks to wherever Rails3 (asset pipeline) checks are present.
Again, not sure this is the best way about it, but the railties weren't
loading because Rails4 wasn't being detected.