Issue 171 4: Extract basic component of ArmZabbixAPI to ZabbixAPI.

These patches mainly extract code that handles communication with ZabbixAPI to a new class: ZabbixAPI.