Fix rails 4.0.2 changes within translation helper.

See more at:
https://github.com/rails/rails/commit/ec16ba75a5493b9da972eea08bae630eba35b62f#diff-79e8a3e6d1d2808c4f93f63b3928a5a1
Fix I18n.enforce_available_locales depreciation warning