Use Units in ROI/MeasurementTool

This PR adapts the ROIs/MeasurementTool to make use of the unit objects.