Sorted out build system including concatenation, minimisation, sourcemaps and version numbers