Added setting git "revision number" to build script
Merge branch '2.x' into 3.x (git revision number in build.sh)