Rewrite the 'only submit job' handling in scripts
Rewrite the 'only submit job' handling in scripts

The "sys.exit(0)" was not nice as you couldn't differentiate it from
other exit codes. We change this to a specially defined exception for
this, so that multi-opcode commands can handle this nicely.

Reviewed-by: imsnah


mbakke/ganeti,yiannist/ganeti,leshchevds/ganeti,ganeti/ganeti,andir/ganeti,yiannist/ganeti,dimara/ganeti,ganeti-github-testing/ganeti-test-1,onponomarev/ganeti,leshchevds/ganeti,mbakke/ganeti,dimara/ganeti,mbakke/ganeti,leshchevds/ganeti,bitemyapp/ganeti,apyrgio/ganeti,onponomarev/ganeti,ganeti/ganeti,ganeti/ganeti,ganeti-github-testing/ganeti-test-1,bitemyapp/ganeti,yiannist/ganeti,apyrgio/ganeti,andir/ganeti,apyrgio/snf-ganeti,grnet/snf-ganeti,andir/ganeti,grnet/snf-ganeti,apyrgio/snf-ganeti