Templating utilities for JSON data and KV navigation

This also includes some integration tests for Consul since they are dependent upon using the JSON parsing functions. (https://github.com/kelseyhightower/confd/pull/102)