Require different core extensions correctly.

The begin rescue block is specifically to catch LoadError while loading
i18n gem. Other core extensions, under active support, should be
required outside of the begin rescue block.
Merge pull request #10531 from waseem/refactor_require

Require different core extensions correctly.