Hardening/harness test cleanup round 2

All tests using orionCurl super function now plus a couple of minor bugs.
The only source code file that is touched in this PR is versionTreat.cpp, that definitely doesn't provoke this change.
We will have lo look for the difference elsewhere.

NTC (perhaps an issue)