Added validator on MetricConfiguration to check code uniqueness

Signed off by: Heitor Reis <marcheing@gmail.com>
Added validators on KalibroRanges

Signed off by: Heitor Reis <marcheing@gmail.com>