Improve handling of environment to correctly parse 'unset' and
not choke on invalid lines.

From Andrew Melo
adding workload.setLFNBase into the buildWorkload method of all Spec files as requested in issue #4864
Remove old Multicore files, switch to CMSSW 7+ way of running multithreaded, remove test code
Delete a TFC override that uses the old dcap at FNAL. We have to test this though
cleanup use of sqlalchemy exceptions

The imports aren't used at all and will cause problems with new SqlAlchemy versions as sqlalchemy.exceptions doesn't exist anymore.
This fixes a bug in the Condor Plugin
Also add some comments and change error logging information (It is debugging instead, not really an error)
fix prep_id upload
Add the possibility to clean the environment bevore running Proxy.py commands
Update SR script by Ops request
if there are elements left in GQ, delete them when force-complete
Dont crash AgentSatusWatcher when there is not WMStats
Other fixes for tier0 thresholds configuration
0.9.97

Signed-off-by: Seangchan Ryu <sryu@fnal.gov>
Merge pull request #5292 from lucacopa/fix_dcapReference_PSet

Delete a TFC override that uses the old dcap at FNAL
Merge pull request #5311 from ticoann/force_complete_fix

if there are elements left in GQ, delete them when force-complete
Merge pull request #5306 from ticoann/fix_prep_id_upload

fix prep_id upload
Merge pull request #5305 from lucacopa/change_state_bug

This fixes a bug in the Condor Plugin
Merge pull request #5299 from hufnagel/sqlalchemy-exceptions

cleanup use of sqlalchemy exceptions
Merge pull request #5310 from lucacopa/try_insideLoop_requestQuery

Update SR script by Ops request
Merge pull request #5309 from lucacopa/agent_watcher_wmstats_down

Dont crash AgentSatusWatcher when there is no WMStats connection
clean up sqlalchemy exception code