Add security compatibility switches to executeworkflow.sh

Fixes TAVSERV-340.
Merge remote-tracking branch 'taverna/2.5' into 2.5-branch