scan: collect cc and to addresses from replies

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
list: add a 'commits' format option

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>