Add #3463 commits from @ghost
msftidy up splunk_upload_app_exec
Merge #3507 into local, recently updated branch of master for landing
Fix splunk_upload_app_exec to work on new installs.  Style
Land #3507/#3463, a communal effort around improving splunk_upload_app_exec