Add illegal metric label validation on register.

This commit introduces the semantic check we discussed on the mailing
list, whereby label names set with "__" prefix are declared as illegal
to the user.