Improve version.pri.

Now you can set a version number only in one place.
Merge pull request #2189 from glassez/version

Improve version.pri to set a version number only in one place.