Add use parent option to the REST interface.
Add full support for `use_parent`.

If specified, the input files passed to the job are not a flat list of
input files anymore, but a list of hashes that the parameter set tweaking
of WMCore expects.  The latter then takes care of setting up CMSSW properly
for us.

Fixes #4514.
Improve error messages for wrong CMSSW releases. Fix #4537
Merge pull request #4538 from mmascher/tagcollector2

Improve error messages for wrong CMSSW releases. Fix #4537
Merge pull request #4545 from matz-e/use_parent

Add use parent option to the REST interface.
Create database entry for `use_parent` also for MySQL.
Update filemetadata and don`t throw uniqueness error. Fixes #4129
Signed-off-by: Justas Balcas <juztas@gmail.com>
Delete deployTRF.sh
Merge pull request #4548 from juztas/merge_filemetadata

Update filemetadata and don`t throw uniqueness error. Fixes #4129
Generate Fake FJR for Fatal errors and kill job is DiskUsage exceeds 100GB.
If job will exceed 100GB usage, job will be killed and it will be FatalError. 100GB limit is set on Scheduler.
Generated fake FJR will allow to print users real message why job failed and not that FJR does not exist.
Fixes #4534 #4532
Merge pull request #4549 from juztas/fake_fjr

Generate Fake FJR for Fatal errors and kill job if DiskUsage exceeds 100GB
Enable LumiCorrection algorithm in LumiBased splitting
Raise an exception when a file has no parents, but parent usage is requested.
Naming conventions of UR* parameters in TW. #4544

Review the naming convention of parameters like resturl, resturi,
instance etc.

Take for example a REST URI (e.g.: '/crabserver/prod/workflowdb'). The
first field in the REST URI (e.g. 'crabserver') will be called the
server API. The second field (e.g. 'prod', 'preprod', 'dev') is the REST
database instance. The third field (e.g. 'workflowdb', 'info',
'filemetadata') is the REST API.
Upload warning message if the inds has lumis split across files
Return warnings to the client. Fixes #4547
Merge pull request #4550 from matz-e/use_parent

Complete support for `use_parent`.
Merge pull request #4552 from mmascher/lumiCorrection

LumiCorrection + warning messages + naming conventions of UR*
Add outtmplfn to filemetadata. Improve getFiles.
Add back commit 0dcf52a050b68db5a789a610e4e4d40ea320e065 in PostJob, which got erased in PostJob rewritting commit 8b6bccbaf463bf8d4f14c9060beecdd7ead221a3.