Disallow duplicate keys in yaml tags
Make sure that there's no duplidate keys in yaml tags.
I added the check in the yaml tree constructor's method, so that the verification is done at every level in the yaml structure.

cc @julien-c 