Extract WP_CLI_VERSION to a separate file

*This is a prerequisite for writing Behat tests for #1535*

- Implements #680
- It is now possible to set the version at build time (required for #1535): `--version=x.y.z`
- Keywords for incrementing the version number by one: `--version=[patch|minor|major]`
- When no arguments are passed, the old behaviour is preserved
- `utils/update-phar` takes an optional argument: `update-phar [same|patch|minor|major|x.y.z]`
I've done that in https://github.com/nyordanov/wp-cli/commit/3270b1151111392bf4c9e658f5b27e6e406ef5d6