Added support for optgroup classes inheritance

Small path to enable option groups to inherit classes from the original optgroup element.