Group is now related to MapLayer objects.

Like user objects the group objects now have a relationship to MapLayers.
So a MapLayer can be granted to a whole group, instead of granting it to
every single user.
Adapted the create and update methods accordingly.