Merge changes I2a8688e7,I6d831706 into tm-qpr-dev

* changes:
  Per-app controls for using landscape display orientation
  Add orientation per-app controls.