improved pathway information returned for collect_pathways fns

to maintain consistency between the different pathways, the
search patterns were modified to return tuples containing the
term and its definition.