CORE-4720 Added app_groups/get-groups-for-app

Retrieves a listing of all groups the app with the given ID is listed under.