LPS-39987 Extend integration test for new finder method
LPS-39987 Prepare for refactor
LPS-39987 Fix performance issue: do not query those type 4 roles which belong to other groups
LPS-39987 Clients of getRoles() want to modify the returned result set
LPS-39987 Method getTeamRoles() is a good candidate for being cached per-thread
LPS-39987 Apply to places which contain teams' role lookup redundantely