When looking for a name in tree, return wether we got to a longer one - if so we had an ent. Add tests + dnssec tests and refactor the tests as well a bit.
This already includes a bunch of helper functions that aid in testing. Factor out etcd and file testing to use this package. Fixes: #50