InstanceMapping modifications and unit tests.
* Added self.label check in validate().
* Changed namespace property to raise ProfileParseError if the
  supplied value was not found in the internal namespace dict.
* Added InstanceMapping unit tests.