[Application Plugin] Modifying start script templates to check for an optional setenv.[sh|bat] file

This enables one to setup env variables in a setenv file. Please see the discussion here for background:

http://forums.gradle.org/gradle/topics/_application_plugin_how_to_configure_variables_in_generated_scripts