Fix and re-break some faulty tests

...also, add created_by || root? check to MeasurementTypesController#update
and RelationshipTypesController#update