smartos_imgadm : add a *basic* search option and an update function

* update_installed() (aka. imgadm update)

* avail(search=None) : outputs the last occurrence of 'string' from
__imgadm avail__