LPS-39987 Add new service method for finding roles by companyId and role types
LPS-39987 Using IN instead of OR performs slightly better for matching against a constant list
LPS-39987 Move logic to the service layer
LPS-39987 Javadocs
LPS-39987 Regen
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