[sensors] Screen coordinates synchronization in Accelerometer

This patch introduces construction options for the screen coordinates
synchronization in the Accelerometer and LinearAccelerationSensor classes.

Specification: https://w3c.github.io/accelerometer/#the-spatialsensoroptions-dictionary

Bug: 750018
Change-Id: I9b402e6d65a77ba624a8c086b9f7c7d2c0a9802e
Reviewed-on: https://chromium-review.googlesource.com/902242
Commit-Queue: Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
Reviewed-by: Alexander Shalamov <alexander.shalamov@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534975}
20 files changed