Add Lua annotations for easy debugging.

Larger queries are getting tougher to debug using Lua codegen so I added annotations for each generated function so you can see what actually query statement actually caused the generation.

/cc: @orenmazor @boourns @snormore