Improved version and build number management and scripts to produce release and beta builds for Windows and Mac versions.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>