HSEARCH-1358 containsCollectionRole needs to verify whether the specified role starts with any of the registered collection roles (not just equality match). This is needed for nested embedded collections.

Also adding test case.