Small refactors + additional new scripts for shutting off grid things
Modify disable_tool.py so I can re-use some functions elsewhere.
Add two new scripts:
- stop_grid_for_tool (to run on cron server)
- disable_grid_for_tool (to run on grid master)
Bug: T353351