[bug 1040919] Change version to only have one dot

If a version number for non-FirefoxOS products had fewer than two dots
(i.e wasn't x.y.z), we'd add .0 until it did have two dots.

However, that was causing problems because if you used a product url,
you'd probably get a response with a version number with just one dot.

This changes the code for inferring the version from the user agent so
it only requires at least one dot (i.e. x.y).
[bug 1040919] Fix .0.0 versions to .0

This is a data migration to fix all the existing versions.