Addressing changes suggested by Eugene:

* Changed option name to prependShellScript
* Added new sbt SettingKey called prependScript to allow overridding the default value
* Quoted $0 in default script
* Added try/catch to warn on error running chmod +x
* Use cacheDir to create a temp file rather than File.createTempFile
Forgot to delete tmp file if it exists already