ReqMgr Oracle/CouchDB consistency work

Second round of Oracle -> CouchDB updates and checks.
ReqMgr CouchDB now consistent where it was achievable.
Dispensable CouchDB request fields not yet removed.
Prepared series of checks, as described in the README
    file, to be run later on again and should be very
    quick to perform.
README file updated with useful Oracle SQL queries checks.
All, table-by-table, steps comprehensively described on the
    #4388 ticket.

For attention: @ticoann
Merge pull request #4600 from zdenekmaxa/reqmgr-fixing-database-consistency-issue-4388-4

ReqMgr Oracle/CouchDB consistency work
Fix Ops proxy argument.
Bugfixes

- Increase the length of the strings for the task column in dbsbuffer_workflow to make it
  consistent with the task in wmbs_workflow
- Make the DBS3Upload component less verbose in INFO level
- Change the default DBS3 upload URL to cmsweb-testbed
workaround for CERN xrootd bug

The new xrootd version used at CERN for SLC6 (3.3.1) has a bug in the feature that allows to pass size and checksum metadata. Implement it another way.
fix ListForSubmitter DAO to work with Oracle
Fix sizePerEvent for MC

MC requests may have very low filter efficiency
so the estimates for disk space will be too high
since the current calculation assumes the definition of:

"Size per event is the size of one event in the output"

However, a more proper definition would be:

- "Size per event is the contribution to the output size for every event in the
   input, if there is no input (i.e. production) then it is the size of every
   event in the output"

Under this definition we must adjust the sizePerEvent according to the efficiency
value in MonteCarlo/LHEStepZero but for all the other processing requests
we expect size per event values according to the above definition (e.g. in
the skims, the skim efficiency should be considered in the sizeperEvent).
Fix pileup dataset location tracking

On workflows where the first task is production, the
dbsUrl is not available in the top level task. Therefore
the WorkQueue was choking when trying to get the locations
since it couldn't find a dbsUrl.

Change it to properly use the dbsUrl that is shipped in the stephelper
information with the pileup datasets.
Merge pull request #4604 from hufnagel/cernxrootdbug

workaround for checksums at CERN, xrootd bug
Merge pull request #4607 from dballesteros7/pileup-on-MonteCarlo

Fix pileup dataset location tracking
Merge pull request #4608 from dballesteros7/fix-job-accounting

Fix sizePerEvent for MC
Merge pull request #4605 from hufnagel/oracledaofix

fix ListForSubmitter DAO to work with Oracle
Merge pull request #4602 from dballesteros7/fix-dbsbuffer-size

Bugfixes for size of DBSBuffer fields and debug messages
Merge pull request #4601 from HassenRiahi/FixOpsProxyParam

Fix Ops proxy argument
Bugfix unit test

It was incompatible with python 2.6
Merge pull request #4611 from dballesteros7/unittest

Bugfix unit test for python 2.6 vs 2.7
0.9.68

Signed-off-by: Eric Vaandering <ewv@fnal.gov>
Remove custodial site

Remove the custodialSite parameter last vestiges, it didn't
have a use case.

Fixes #4376
Fix JobPrio update in Condor

Priority value must be constrained to an integer
PhEDEx improvement

Refactor the code to use WMBS as the source of information
instead of opening specs, this allows better accounting and
flexibility.

Summary of functionality changes:

- Clean up the SQLite code in PhEDEx, it is outdated and not supported.
- Add the Tier-0 support through the safeMode option.
- Check for duplicate dataset subscriptions before subscribing, this included unapproved transfer requests.
- Requests are compacted by site and datasets (i.e. some requests will subscribe multiple datasets to multiple sites if possible).

Fixes #4479
Fixes #4480