Added an api in the SensorManager which can be used by the android app's to write data to the SensorService.
Fixed syntax error in jni
Fixed errors in the jninativemethod.
Refined the sendEvents api interface.
Implemented the methods to completely create the event object at the jni level.

There seems to be some problem with the timestamp. Will have to check that.