Added delete functionality to measurement lists.

Added validation to number inputs.
Did some renaming from measurementType to parameter.
Refactored storage service to behave more like a db repository and generate object ids.
Refactored measurements service to provide an api for each parameter.
Added common directives.js