Require optional engines on application.rb

Using a Rails initializer to require an engine means that the
engine Railties (routes, initializers...) won't be loaded.

Requiring the engines on application.rb fixes this, Railties
are loaded after processing this file.