Fixed group removal

Fixed issues with group token. …
- Make sure group token is properly updated on changes
- Made diffset just detect changes in groups.
- Serialize group token even if groups are empty.
- Added tests for the new diffset.

#2040