Added Chromebook support

Current behavior: device.type returns "mobile" when launched on Chrome OS.
Solution: added check which looks for "CrOS" in user agent string and sets device.type accordingly.