hashtable: drop extra include of <log.h>
avltree: store origin key, not only hashed value
avltree: implement foreach, and now you can use js code inside it too