Include line contents in quicklist results

This makes it easier to skim the quicklist results, for example to ignore
references which are just import statements.