Fix add/removeMapItemGroup not checking if the item is added to a map


Currently these methods aren't checking if a group is already added
to another map.
This patch fixes it.

Change-Id: I58a5e633b44abfcae5c362f8e97d4c6706869ac5
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commitc0683791e467e75067ec1948952528a1ba998710
parentf05bcda6bea40c85edafc8b898629804106ca5e8
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeSun, 18 Jun 2017 08:04:43 +0000