Backport eager load to support Rails 3

Since `ActiveSupport::Autoload.eager_load!` is not defined I think the
currect way is register the classes to be autoloaded and the
`preload_framework` initilizer will load all the classes registered.

@josevalim is it right?

Closes #478