Init script fix and re-use agent_common for zabbixapi gem

* Make init script sleep for 3 seconds prior to shutting down.
  This is to avoid a corrupt sqlite DB upon first run. HACK -
  a better method is welcome
Merge branch 'proxy-support' into bb-mega-merge
Explicitly set Hostname for proxy

* Chef resolved FQDN and Zabbix does not leading to errors
Merge branch 'proxy-support' into bb-mega-merge