sensorservice: Add legacy sensors fusion.

This change allows devices with accelerometer & magnetometer but
without gyroscope to still get virtual sensors such as Gravity,
Linear Acceleration and Rotation Vector.

Change-Id: Ibb90b70845c766ab52c843557446e34649a7d6d9
Fix building of hwcomposer for msm devices
fixes /home/kovjanos/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: error: /home/kovjanos/cm10/out/target/product/leo/obj/SHARED_LIBRARIES/hwcomposer.qsd8k_intermediates/hwc_copybit.o: multiple definition of 'android::Singleton<qdutils::QCCompositionType>::sInstance'
/home/kovjanos/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /home/kovjanos/cm10/out/target/product/leo/obj/SHARED_LIBRARIES/hwcomposer.qsd8k_intermediates/hwc.o: previous definition here
/home/kovjanos/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: error: /home/kovjanos/cm10/out/target/product/leo/obj/SHARED_LIBRARIES/hwcomposer.qsd8k_intermediates/hwc_copybit.o: multiple definition of 'android::Singleton<qdutils::QCCompositionType>::sLock'
/home/kovjanos/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /home/kovjanos/cm10/out/target/product/leo/obj/SHARED_LIBRARIES/hwcomposer.qsd8k_intermediates/hwc.o: previous definition here
collect2: ld returned 1 exit status

Change-Id: I1d8fc2298590c7f5f20f257ad1462768264bac78
Revert "libgui: Use fences for all QCOM targets"

This reverts commit be1b7537097779385da94ae98e0cca76732d74ba.