Merge changes from topic "b:140112642:5" into qt-surfaceflinger-dev

* changes:
  SurfaceFlinger: clamp frame refresh duration to min refresh duration
  SurfaceFlinger: calculate expected present once
  [SurfaceFlinger] Exclude first vsync duration from period calculation
  SurfaceFlinger: tune LayerHistory to be less aggressive
  [SurfaceFlinger] Don't touch hw vsync in DEFAULT RR with kernel timeout
  SurfaceFlinger: add display power state timer