Various package group modifications

Port to el7.x branch relevant modifications in sl6.x branch.

Fixes #51.