make key cleaning for templates recursive

etcd backends can now resolve keys recursively into maps rather than etcd.Nodes objects for templates.