Fix a typo in the CleanCouchPoller code

It can cause unexpected errors, when an error occurs
add support to stageout from HLT Cloud at CERN

The VMs on the HLT Cloud at CERN don't have access to the eos environment.
Change the stageout plugin to only use generic xrootd commands.

Patch was developed by Stephen Gowdy, I did test it in a replay though.
prevent task archiver crashing when central couch server is down
Fix how we delete documents in couchdb

A weird hitch in couch's delete semantics is that if you don't use the
DELETE verb (i.e. you commit with _bulk_docs and set _deleted=true), it
stores the whole data in the delete tombstone. See:

https://issues.apache.org/jira/browse/COUCHDB-1141

Since (AFAIK), we don't ever use _deleted_revs=true to look at things,
it means that we have tons of old data sitting around in couch that's
basically invisible. This patch strips the document before comitting it
so the only thing lefts are _id, _rev and _deleted
Enforce integer processing versions

This extends the support in WMWorkload and WMTask to include a
processing string along with the processing version and acquisition era.
The processing version is now enforced to be an integer and the lfns
are built as following:

<acquisitionEra>-<processingString>-v<processingVersion>

The job reports contain all these three elements for each output file
however the DBSBuffer will only use the processing version and acquisition
era.

The ReqMgr changes to allow the specification of these parameters in the
assign page, also updated the tests and templates. Include a test template
for TaskChain with multiple tasks, multiple acquisition eras and versions.

Fixes #4007

- added assert into reqmgr.py to check for correct request state
- modified template values of AcquisitionEra parameter
Merge pull request #4401 from hufnagel/cernhltstageout

add support to stageout from HLT Cloud at CERN
Merge pull request #4393 from dballesteros7/Fix-ErrorMessage-CleanCouchPoller

Fix a typo in the CleanCouchPoller code
Merge pull request #4396 from PerilousApricot/bugfix/update-couchdb-delete

Bugfix/update couchdb delete
Merge pull request #4397 from ticoann/prevent_taskarchiver_crash

prevent task archiver crashing when central couch server is down
Fixing delete stuff
Merge pull request #4404 from PerilousApricot/bugfix/update-couchdb-delete

Fixing delete stuff
Fixes for problems uncovered during the DBS2/DBS3 consistency check:
  - Block size and file count is now correct.
  - Physics group is not correct.

This also adds a legitimate unit test which validates all data injected
and tests the special T0 DBS2/DBS3 upload only mode.
Bugfix Smart error handler

Bugfix for extreme cases of null reports and also
a few cases where jobs could get stuck in jobfailed.
Merge pull request #4406 from sfoulkes/dbs3_unittest

Fixes for problems uncovered during the DBS2/DBS3 consistency check:
Merge pull request #4407 from dballesteros7/fixErrorHandlerSmart

Bugfix Smart error handler
make rejected workflow to be archived and remove from tracking in wmstats
Merge pull request #4402 from zdenekmaxa/dballesteros7-proc-ver-fix

Enforce integer processing versions
Merge pull request #4414 from ticoann/make_reject_archived

make rejected workflow to be archived and remove from tracking in wmstats