Fix for duplicates in all alias list query
[Issue#] N/A
[Feature/Bug] N/A
[Problem] DBperfGetAliasList fails
[Cause] DB_CMD_NAME_SELECT_BY_TYPE_AND_PERMISSION query is incorrect. When
listing objects accessible by given label it will produce one result for every
owned object times the number of accessors allowed.
Example:
Label L1 is owner of object (L1 N1)
Labels L2 and L3 have read permission to (L1 N1)
Listing all aliases accessible by L1 will produce:
L1 N1 (access by L2)
L1 N1 (access by L3)
[Solution] Add GROUP BY clause clause to get rid of duplicated objects
[Verification] ckm-tests-internall succeeds
Change-Id: I63f0d576750038e0abc1d7d41921e05d87cadfe4