fixed Cursor bug and made identity shortcut funcs 0-arity
r.asc and r.desc
added shortcut func for foreach
Merge branch 'ql-refactor' of github.com:rethinkdb/rethinkdb into ql-refactor
fixed error messages
Merge branch 'ql-refactor' of github.com:rethinkdb/rethinkdb into ql-refactor