ChromeOS detection

Added a simple check for ChromeOS - merely looking for `CrOS` in the User-Agent, and overriding the browser-specified platform if so.

Overriding the platform helps when testing with a custom User-Agent when this doesn't override `window.navigator.platform`.