Lps 46658

I first tried using getGroupOrganizations/getUserOrganizations and getGroupUserGroups/getUserUserGroups but that was still too slow (about 90 seconds for 40k orgs), So i decided to try to implement the List<Long> and use that instead... I think it takes about 2 seconds for 40k orgs now.

i'm not 100% sure about the ordering of the method in the ftl file because i don't change those very often, but i think the rest is source formatted correctly (passed ant format-source).