libs/gui: Update TRANSFORM HINT from BufferQueue

Read TRANFORM HINT value from Buffer Queue rather than STC.
STC's hint will be updated only when QueueBuffer is called.
So any query from client for hint in between two DequeueBuffer
call will read wrong value.

(cherry picked from commit 0618a92c24576e104043d139aaf92ecec2c0df88)

Change-Id: If3a244207e0584ee417deb36d357fe0ab7c1a96d
SF/HWC: Disable Vsync for copybit layer only

(cherry picked from commit a546a9970674730e734fbf2fd59982c746b73667)

Change-Id: I09a71927e55c95c790e92ed9bce88447d59be267
surfaceflinger: Add all display connections to connection list.

1. Revert "surfaceflinger: Remove deadlock condition."
   This reverts commit 3924ab90a956b15610f45e229e051756c94ba1b8.
2. Add all display event connections to connection list to avoid
   deadlock condition.

Conflicts:

	services/surfaceflinger/EventThread.cpp

Change-Id: Ia65e217a5130572d0724d3c4fd9f2e962c0ffb50
(cherry picked from commit 5aec1edc1f4fa0562d379b5c85a1c9de943b7087)
CRs-Fixed: 421346