Count the frame number in driver thread

In order to add labels for each frame number, we also need a frame
number in the driver thread, so the monotonic increased frame number
should be moved into the driver thread.
add VDHost assert
fix input register assert
Bug 987529 - Part 1: Integrate GeckoTouchDispatcher into vsync dispatcher

Add a new class, InputDispatcherRegistryHost, to handle the ticktask for
GeckoTouchDispatcher. In this patch, we also revise some data members
and member functions of other VsyncEventRegistries.

BTW, the input monitor is still under construction. We have to make sure
the waiting delay of each input event shouldn't longer than 4 ms.
Bug 987529 - integrate refresh driver into vsync dispatcher
Bug 987529 - integrate CompositorParent into vsync dispatcher
systrace label for silk

add vsync trace timer