Detects mobile phones and tables from useragent string and http headers.