Make log_refs return an array-ref of chompped lines

This fixes its usage in select_change_refs.
Change select_change_refs table title
Make 'ls' an alias for 'list'