Support read-only queries

Moved from GitHub dgraph-js/57

Posted by danielmai:

#52 will need read-only support first in order to also support best-effort queries.

emhagman commented :

All set with #58

campoy commented :

Awesome, we can close this issue then @danielmai ?

paulftw commented :

Added in 65d45150cf338a2126960e71179d6c9c3c6c4d51