ReqMgr Oracle/CouchDB consistency work

Related to #4388

Not all Oracle tables processing yet finished.

Modifications in the scripts done for this addition:
https://github.com/dmwm/WMCore/issues/4388#issuecomment-17045125
Merge pull request #4581 from zdenekmaxa/reqmgr-fixing-database-consistency-issue-4388-2

ReqMgr Oracle/CouchDB consistency work