Some preliminary work on JOINs (very buggy)
Fix some bugs/typos in iql.js