link_info: implement !lastlink

closes #6