Squashed fix for OMX VDEC deadlocks on JF if screen rotates while playing a video with AwesomePlayer.

Squashed commit of the following:

commit 87af54556f5fce14d9e35ff9fe1f67d807da4a12
Author: nuclearmistake <nuclearmistake@gmail.com>
Date:   Sat Jan 11 00:04:20 2014 -0500

    Revert "Donot compose layers if external is in pause state"

    This reverts commit 8935d513fcdfcc3e33cec4363749fbfe5faa4296.

commit c35be4808c52e0bb6d8fb7c22fe02e3517af0385
Author: nuclearmistake <nuclearmistake@gmail.com>
Date:   Sat Jan 11 00:02:06 2014 -0500

    Revert "libhwcomposer: Fence FD Count not handled for CACHED layer"

    This reverts commit fb386734a97d77cd8b10c2f3b7ffc40cfc075c8b.

commit 9f7de889621dd25e3f23e77a41307da64cf9e09c
Author: nuclearmistake <nuclearmistake@gmail.com>
Date:   Sat Jan 11 00:01:56 2014 -0500

    Revert "hwcomposer : Fix copybit render buffer fence usage."

    This reverts commit 157dc99ac75e4d41d7cbdb1e79dd3a28b7b38de5.

commit 0de846c49c31da91b0e402cc0758f47864a47045
Author: nuclearmistake <nuclearmistake@gmail.com>
Date:   Sat Jan 11 00:01:04 2014 -0500

    Revert "hwcomposer : Fix rotator fence for FB pre rotation."

    This reverts commit 2268479c2ec5e797efb0edd2d4f524a162175d9c.

commit 9d8cf25dae971d9cb7b915d5ba66806d2f33c86c
Author: nuclearmistake <nuclearmistake@gmail.com>
Date:   Sat Jan 11 00:00:51 2014 -0500

    Revert "hwc: Add deduction operation to Rect utils"

    This reverts commit 0b972b6c7069c80866e974847c1daa230ac63f42.

commit f9e1c30a30e9b08eb6922c28cbab7591b82a2421
Author: nuclearmistake <nuclearmistake@gmail.com>
Date:   Sat Jan 11 00:00:42 2014 -0500

    Revert "hwc: Crop source rect for the optimized destination"

    This reverts commit 13a2c99cd4faa39ab2c0f7edba4fbbafc7ce6547.

Change-Id: I9d11ea9c192dc87bf1f1995b6fa19b9250fdf301