Shorten `rethinkdb` -> `r` in ast.lua.
Rename `RDBOp` -> `ReQLOp`.
Clean up `compose` to match driver use.
Implement ast class templates.