Added general functions to get alive groups and units.
Using general getUnit function.
Added function to get groups and units.
Added function to get groups and units.
Added function to get groups and units.
Added function to get cqc,patrol and camp groups and units.
Added api functions.