Fix whitespace by applying template.
Fix #41 - allow Sensor.TYPE_ORIENTATION events to be processed.