Called when the client disables the script. Handles unregistering all modules and commands created with this script.