Build script now also updates build.number according to major, minor and
revision number. Added log4j to lib folder where it is supposed to be.