add 'version' to generated env.properties

based on SCM revision
downcase env keys for properties file
pass additional config properties through to application