scriptHandler: add a new getScriptLocation function, which takes a script, and returns its module.class location. A previous version of getScriptLocation used to exist, however this new one now searches the script's class mro until it finds where the script has really been implemented, rather than simply returning the class that the script was originally fetched from.