Rename tank to sgtk.  Move environment setup logic local to engine.
Ticket #21126 - Added support for uninstalling old extension.  Use version
passed in from the extension to compare against current before tagging.