query runner

* Add query runner
* Support promise for rethinkdb v1.13.0