Generate build.properties and git.properties

Signed-off-by: Rob Gallagher <rgallagher@pivotallabs.com>
Fix up build_properties.gradle

Build the properties files earlier so that they are included
in the final war file

Signed-off-by: Rob Gallagher <rgallagher@pivotallabs.com>