Remove unused code
Add support for line ending style and destination file path
Support target line ending style and destination file

in replaceTokensInScript/File/Stream methods
writeScriptTempFile supports desintation path and target node line
endings
Fix regression #994 #993

* use script token expansion as necessary even when desintation is set
* use target (local) node line endings always
job-run test should require success
Add test for different step types
Merge branch 'issue/993-bad-interpreter' into development