Require 'active_support/dependencies/autoload' where appropriate

This is needed by 'active_support/core_ext', but not required [1].
Thus require it explicitly before every core_ext require.

[1] https://github.com/rails/rails/issues/15466