Fix Measurement.url
Entering a name for an activity is now optional; saving can compose one from contractor and mtype. Also makes sure the name is unique.