Fix require usage for active_support

As described in rails/rails#14664 use require 'active_support' before core_ext
Fix require usage for active_support in test
Merge pull request #91 from Glandos/patch-1

Fix require usage for active_support