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.
Use VERSION_BUILD where possible. Revert a change from previous commit.