Update \Gasoline\Model\Base::to_form to allow for <optgroup>