GHashTable: new 'add' and 'contains' APIs