Add smartphone_version to detect device version number

I implement `smartphone_version` method to extract device version from the user agent.