Refactored SensorPerturb code to use protocolbuf; Reimplemented methods.

Change-Id: I3e227c12f9751f45986eab30ac98356cb2f836e1