The build number and git ref now be injected in to the packaged war at b...

...uild time.

This is so that deployed wars can be traced back to a particular war on jenkins.

It is implemented using environment variables which are easily available on jenkins.
There has also been some refactoring around the display of various build/env/version parameters on the front-end.