Make ActiveSupport::Configurable enabled classes serializable

rails/rails#9299