Fixing the removal of relationships when identitytypes are removed.
Merge remote-tracking branch 'upstream2/master'
Fixes the query when merging different identitytypes with the same name.
Agents were duplicated when executing queries using the lookupIdentityById.
Fixing import for the SimpleRole class.
Merge pull request #46 from anilsaldhana/master

see comments
Merge pull request #47 from anilsaldhana/master

see comments