Add `nodes` template function for querying all Consul nodes

Fixes #63