port wmstats script to WMCore codebase
Merge pull request #5161 from ticoann/move_wmstat_svc

port wmstats script to WMCore codebase