display: Enable vsync

* Use the vsync uevents from the kernel to start
surfaceflinger composition.
* This patch also does some code cleanup
    - Move copybit specific functions to copybit files.
    - Cleanup verbose logging.

Change-Id: I36936e4b0a082cfb0347d8ee7d2bc936e01808e6
diff --git a/libhwcomposer/hwc_qbuf.h b/libhwcomposer/hwc_qbuf.h
index a0ade8c..6d75964 100644
--- a/libhwcomposer/hwc_qbuf.h
+++ b/libhwcomposer/hwc_qbuf.h
@@ -15,6 +15,9 @@
  * limitations under the License.
  */
 
+#include <gralloc_priv.h>
+#include <genlock.h>
+
 // -----------------------------------------------------------------------------
 // QueuedBufferStore
 //This class holds currently and previously queued buffers.