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

Now you can set values like VER_MAJOR, VER_MINOR and so on, and PROJECT_VERSION will be built based on them.