Fix sandbox creation

The old way of finding the base of the WMCore tree didn't work with
patched installs (the sandboxes were getting made from the base RPM, not
the patched location)
Display docstrings in RESTAPI documentation
Fix issue with site parameter in error summary

It can be an empty dictionary which causes problems
when trying to create the summary.

Fix that by ensuring it's a string.
Squashed commit of the following:

commit 37505121c613f5c03821d2814931c0e488e872a5
Merge: d9a63f4 8599684
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Jan 4 15:46:26 2013 -0600

    Merge branch 'fix_agent_info_update' into rpm_test

    Conflicts:
    	src/python/WMComponent/AnalyticsDataCollector/AnalyticsPoller.py

commit d9a63f49a03f5a9ab74fff0a475bdf52243e6ab2
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Jan 4 15:43:08 2013 -0600

    add couch server alert

commit 85996843562d4a34a183742d9324f876e9dc2bf2
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Jan 4 11:21:32 2013 -0600

    directly upload agent info to remote wmstats to prevent conflict when agent redeployed

commit 900174f6fdd8b022d364d01224a184dbcbc22109
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Jan 4 11:17:36 2013 -0600

    refactor Controls view and fix UTC

commit 1b328477033283a056c5156a547292dcffbd4a89
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Wed Jan 2 10:43:09 2013 -0600

    fix average event and lumi calculation

commit 61a873f549cff765880118ff32fef79523de7c67
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Mon Dec 31 11:54:34 2012 -0600

    lumi and event progress.
    need to find how to handle the same out put dataset names for different workflow.

commit 31e875136da6038a3d3ec98451ea0d9d15f1bc06
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Dec 28 13:59:07 2012 -0600

    lumi based progress bug fix and refactor request struct

commit f292faf502aa888e8471112789425be3684b930a
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Wed Dec 19 11:14:00 2012 -0600

    hard code summary link

commit 95162066eb99fb546c527293bc4d7d85ec9b4617
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Tue Dec 18 16:53:21 2012 -0600

    add minified version

commit 2a8a021ac8aae219adb4defebee2ccb3433a9705
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Tue Dec 18 16:52:14 2012 -0600

    12/18 vocms236 test version

commit 63a96526b30aaabb2c8c63f099157e5476872d83
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Dec 14 17:07:47 2012 -0600

    fix site missing error for display this is temporary patch to handle old wmagent interaction

commit 1904760f02e8f44b13664184e122cbacaa8f6a61
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Dec 14 16:20:36 2012 -0600

    hard coded value

commit b7beba9d43f6708e6087b6d40ed8ed46a90ef1ab
Merge: efdfcaf 97ecf83
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Dec 14 14:01:46 2012 -0600

    Merge branch '2012-12-4-merge' into 2012-12-14-merge

commit 97ecf837a1740637de65ab5ff83f3e57cd89d25f
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Dec 14 13:55:35 2012 -0600

    add search page work in progress

commit ffd317715345ae06cf57141c22466769256712eb
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Dec 14 13:51:52 2012 -0600

    add total lumi calcuation

commit 1c67f0b23458771de3dc81f0d7ffe183fdc577d7
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Thu Dec 13 15:53:32 2012 -0600

    fix typo

commit b0d3b5d534a0d2cf1d83bc0512563b97550defc9
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Thu Dec 13 15:36:37 2012 -0600

    enhance the loaing time

commit 03fb87b883ce27ac281435deb640aeb67733535d
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Thu Dec 13 15:35:28 2012 -0600

    add file merge status in the job report

commit dae5e248c071dc70c86741e589ff55d4aea335ca
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Fri Dec 7 15:23:18 2012 -0600

    remove none used view

commit a49ed0e6d30c8178f511651017f48e524569f2ef
Author: Seangchan Ryu <sryu@fnal.gov>
Date:   Tue Dec 4 16:59:01 2012 -0600

    Conflicts:
    	src/python/WMComponent/AnalyticsDataCollector/AnalyticsPoller.py
    	src/python/WMComponent/AnalyticsDataCollector/DataCollectAPI.py
    	src/python/WMCore/Services/WMStats/WMStatsWriter.py
add basic search page
add running-open and running-closed status and update event, lumi function.
add workload summary rewrite rules.
Merge pull request #4345 from ticoann/pull_feb_deploy_1

major wmstats change for feb deployment
Merge pull request #4342 from dballesteros7/fix-errorSite-hash

Fix issue with site parameter in error summary
Merge pull request #4340 from giffels/restapi-docstrings

Display docstrings in RESTAPI documentation
Merge pull request #4339 from PerilousApricot/bugfix/zipimport

Fix sandbox creation
0.9.34

Signed-off-by: Stephen Foulkes <sfoulkes@fnal.gov>
Fix WMBSMergeBySize causing duplicates

This occurs when a site has multiple SEs, fix
changes the discovery query to return a file only once
with a tuple of the possible SEs.
Merge pull request #4347 from dballesteros7/fixMergeDuplicate

Fix WMBSMergeBySize causing duplicates
Fix Harvest splitter creating duplicate jobs

This because of multiple SEs for a single site.
Fix EOS StageIn at CERN

Plugin was using rfcp to stageIn files from EOS at CERN.
Check properly if remotePFN is EOS, instead of targetPFN
as in stageIn the targetPFN will be the local.

Also fix deletions, in stageIn case it was going to
delete the remotePFN instead of the faulty local
copy. Include deletions for failed CASTOR stage-outs.

Finally, only create directories on remote PFNs.
Merge pull request #4349 from dballesteros7/fixCERNStagein

Fix EOS StageIn at CERN
Merge pull request #4348 from dballesteros7/fixHarvestDuplicate

Fix Harvest splitter creating duplicate jobs