parse a query string and stick it into a glib GHashTable