Create an unique key constraint for the metric_dimension table

This is required so the Threshold Engine can do high performance
inserts. There are some issues with this so the JIRA JAH-680 was
created to correct the problems in the future

Change-Id: I856a7561538f38b4979b16aeef15357dd68ea914