Tighted up API to disallow creation of duplicate labels within a resourc...

...e's version history.