hashtable: added wrapper for glib hashtable implementation