Removing self from NSNotificationCenter

..on destruction
Minor refactoring
Added boilerplate for MeasurementDetailView