Autorequire railtie.

If Rails is defined.

Closes #1.