HSEARCH-1358 Some cleanup. Removing unused parameters from methods
HSEARCH-1358 Formatting - adding @TestForIssue
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.