add script to unregister agent when agent is retired or inactive
Merge pull request #4389 from ticoann/unregister_agent

add script to unregister from wmstats agent when agent is retired or inactive