Allow `r.connect` to return connection if there is no callback.
Add a base `ReQLError` to the error types.