require active_support before active_support/core_ext

fixes ActiveSupport::Autoload error, and is the correct way to include ActiveSupport