ciao-cli: Fix template handling of ciao-cli image list
ciao-cli: Fix template handling of ciao-cli image list

ciao-cli image list was not handling templates correctly.  It was
calling the template function once for each page rather than once
for the entire list.  This breaks scripts such as {{len .}} which
attempt to compute the total number of images.

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

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