For #26314 - added migration of tank.bat/tank binaries to core upgrader

- This is essentially the same code from previous migrations but with an extra check to ensure that the tank.bat/tank scripts are only updated for pipeline configs that share the same core.
- Also updated script to use sgtk/Toolkit instead of tank where appropriate (You can ignore these changes - sorry for the pollution!)
Is this the only output that is being emitted? Would it be useful with a little short description of what is going on, just to keep people in the loop? Our more technical clients like to keep on top of this sort of thing - a lot of them probably have their configs in source control (is this a problem?) and it would be cool to maybe explain exactly what we are doing just to keep them in the loop! :rabbit: