Implemented add measurement feature on client side.
Implemented REST service for saving measurements. Fixed some issues on client side for this functionality.