josh/useragent — pull request #42 by edvinasbartkus (2012-12-17 09:52:05+00:00)
Title: Detecting Nexus 7 tablet

Seems that Nexus 7 with Android is sending little bit different useragent:
Mozilla/5.0 (Linux; Android 4.2; Nexus 7 Build/JOP40C) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19

Default browser is Chrome so I made it detect Chrome browser first and Android as an OS.
Tests included.