groups: auto-saving the groups persistor. (RhBug:1089864)

Any such mechansim has to respect the following:
- 'group mark ...' works as expected
- 'group install' (or the respective API) only causes persistent changes
  if the following transaction goes through
- 'group install' can produce 'nothing to do' transaction, the changes
  still need to be saved.