ciao-down: Use apt section of cloudinit file
ciao-down: Use apt section of cloudinit file

The cloudinit file has a dedicated section for configuring apt but
we weren't using it.  Instead we were executing all of the apt
commands in the runcmd and write_files section of the cloud-init file.
This commit moves the instructions that set up the apt proxies and
initiate the apt-get upgrade to the apt section.  The other commands
such as setting up sources and installing packages can not be used
as these sections do not handle proxies correctly.

Fixes #1131

Signed-off-by: Mark Ryan <f16215f7acd0bd7fdc465539215bd574c785b062@intel.com>

rbradford/ciao,kaccardi/ciao,obedmr/ciao,tpepper/ciao,erick0z/ciao,mrkz/ciao,mrkz/ciao,mcastelino/ciao,ciao-project/ciao,01org/ciao,mcastelino/ciao,tpepper/ciao,erick0z/ciao,obedmr/ciao,mcastelino/ciao,matthewrsj/ciao,markdryan/ciao,obedmr/ciao,mrkz/ciao,kaccardi/ciao,01org/ciao,ciao-project/ciao,matthewrsj/ciao,erick0z/ciao,matthewrsj/ciao,markdryan/ciao,tpepper/ciao,rbradford/ciao