Move shared utilities into util

This will allow us to use the watcher (for example) as a library outside of Consul Template