Fix simple host/service dependencies w/o apply

fixes #6560
Refactor group membership handling

There was a strange behavior with my local test config and a generated
one. This patch also adds the capability to remove '+' and '!' properly.

refs #6558