Check and return mobile device OS an version based on user agent string