Add Native type for hybris hwcomposer

Initial commit for the hybris hwcomposer native type, based on the
Android native type. Nothing works yet.
Correct code for EGL hybris support

Add the correct code for creating and flipping the hybris hwcomposer
buffers.
Add hybris platform support

Add the needed platfrom and package support for libhybris
Hide hybris code behind platform defines

Add platform defines to hide all the bad code
Add hybris include folder to configure script
Fix some logic errors in the native window handling
Fix the swap surface buffer code
Make sure the swap surface code only gets called when the app
starts painting. This patch is less intrusive.
Make sure we can still compile without the hybris libraries
Add hybris H/W decoding
Do some extra cleanup
Slight fixes for crashes
Add the native MFC code from Oversun's repo
Create new thread for HDMI paiting because of unsynced vsyncs
Merge remote-tracking branch 'vam/Frodo-hybris' into Frodo

Merge hybris code.