frameworks/native: Add support for Tegra3 based Devices by adding options
* BOARD_EGL_SKIP_FIRST_DEQUEUE to add back the legacy EGL workaround
* BOARD_USE_MHEAP_SCREENSHOT to support mHeap-based Screenshots
Those Changes are taken from
* CM (see https://github.com/CyanogenMod/android_frameworks_native/commit/c3b18f73fd7ff58794f39ad36a49c7bce996967c)
* CM (see http://review.cyanogenmod.org/#/c/53162/)

Change-Id: I41be2cedd54ed6f72d1a498b1d11e8768406fe0e
surfaceflinger: Consolidate display orientation compensation hooks

Dedupe rotation calculation code and make rotation a statically
available property in the DisplayDevice
Change-Id: Ic517ab0d2c05026cd6fa46d664aab7926be17b62
Added BOARD_HAVE_PIXEL_FORMAT_INFO code (from CM)

Change-Id: Id18acac87814d2e892d1f881fffb9623d56b39f5