Scaffold measurements.
Fix index, new, edit, create, and update actions for measurements.