Twisted deprecated their twisted.enterprise.util.quote function, adds it back as we need it for the Twisted based web front end (eg. index and stats), though the Twisted queries need to be fixed before anything can be done, for now it crashes on the latest version of Twisted. :(