add 'version' to generated env.properties

based on SCM revision
downcase env keys for properties file
pass additional config properties through to application
rename env.properties -> APPNAME.properties

more consistent with its intent and the contents (which include
more than just environment properties)