Fix bugs with ReQL query build.
Clean up error creation code.

RqlQueryPrinter becomes a more normal class like the Python driver.
Replace `Rql` -> `ReQL`.

There is an issue rethinkdb/rethinkdb#1145 where @coffeemug declares
this as the correct spelling. This change should be early enough that
no one is using the driver and needs to rewrite code.