Add missing av/railtie require

This breaks plugins and some apps after upgrading to 4.1 beta. We shouldn't require users to this, this should be included by default.

Ref: #13384