Added support for optgroup classes inheritance
Merge branch 'optgroup-class-support' into release