Added unique index to PermissionAccessEntityTypes.petHandle for uniqueness constraint and for query where clause

Added index permissionAccessEntityTypes.pkgID for potential join to packages table and query where clause