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

...e's version history.


Have we got a ticket in with MODE? Might be good to put that number in the comment.