Changed pattern_response_fn overrides mechanism

pattern_response_fn overrides are now only applied temporarily, and
are restored after each measurement, unless the pattern_response_fn
instance is changed directly. Additionally all .ty files have been
updated to set the measurement defaults appropriately.