Added version parameter to build script

The new '--version' parameter may be used to explicitly specify version name or number when building the app.