[server][ArmZabbixAPI] Move getGroups() and the depending methods to ZabbixAPI.