Add test to iql_test.js triggering newrows bug.
Updates to iql.js
Fix various bugs in compileSelect in iql.js