Reql-like mini-driver replacing some uses of anaphoric macros

Review 908 by @srh and @mlucy
Issue #806