Applying changes to the IdentityManager methods signature.
Fixing test cases. Calling grantRole does not create grant and groupmembership relationships anymore.
Applying latest IDM changes.