Add support for export of customerGroup.

@emmenko please check and merge, if its ok.