Make ActiveSupport::Configurable enabled classes serializable

References #9299
/cc @rafaelfranca and @senny