Fix compile error cause by duplicate definition
Fix some simple compilation warnings when building xbomx

LOG_TAG should be defines before including headers
Avoid HAVE_* clashes with AndroidConfig.h
Use SENSOR_TYPE_* definitions from hardware/libhardware/include/hardware/sensors.h
Merge pull request #4 from chrisdearman/for-master

Compilation fixes for master branch