Bug 987529 - part 3: Integrate CompositorParent into vsync dispatcher

modify for TimeStamp parameter.
use TimeStamp form TickTask() instead of TimeStamp::Now().

modify for new timestamp parameter.
change TickTask() to TickVsync()
fix animation TimeStamp for non-silk case
systrace label for silk

add vsync trace timer

fix __LINE__ macro expend

fix print statistic function error
Add systrace labels

1. HwToVsync            [silk.hw2vsync]
2. DispatchVsync        [silk.vd]
3. Input                [silk.i.scope]
4. Compositor           [silk.c.scope]
5. RefreshDriver        [silk.r.scope]
6. RefreshDriver.Client [silk.r.scope.client]
7. Input_Latency        [silk.i.lat]
8. Comp_Latency         [silk.c.lat]
9. RD_Latency           [silk.r.lat]
10. IPC                 [silk.ipc]
add timer log
Rename labels and add a new label

new label:
1. VsyncDuration [silk.vsync]

also refine some trace timers
Disable scrollable bar
Add set/getprop script
add ksmd enable/disable script
usage:
./set_ksmd.sh [0|1]
Add more trace timer tags

In this patch, I comment out the wait mechanism for input dispatcher and
remove redundant printf()s.
show resample pos raw data and statistic data
fix trace log format
Add a new debug prop for printing raw log

The new prop is silk.timer.log.raw.
fix a potentional bug
Add a new property

New property: silk.timer.log.input
Add a new prperty for hiding the scrollbar

The property name is silk.scrollbar.hide
Bug 1062117 - Set thread priority for VsyncDispatcherHost

Set the priority value of VsyncDispatcherHost from
the preference settings.
Fix systrace scope bug
add vsync scope trace
add test gfxPrefs to enable/disable the vsync aligned compositor and RD
gfxpref:
  1. gfx.frameuniformity.compositor-vsync.enabled
  2. gfx.frameuniformity.refreshdriver-vsync.enabled
temporary fix input non-one-shot register