Adding Back Rails::Engine::Railties#engines

First PR for me, so please let me know if I've done something horribly wrong :-P

Removing Rails::Engine::Railties#engines breaks functionality with gems such as Thinking Sphinx.
This restores it with a deprecation warning. See #8551