Added _.applyNested() lodash mixin.
Updates to OptionGroup Model to support arrays of groups.