Parse a User-Agent string: browser, OS, device class (desktop, mobile, tablet, tv, bot) and a bot flag.