Fixed apparent bug in pairlist_append_unique. Added pairlist_set and pairlist_values_and_destroy. Fixed implementation of notes_refined_for_type_with_lang in notequery.c. Added new test models in test/canvas/blocktypes.a4c.