Store class at init time; use it when deleting myself.

Also install CherryPy so I can delete myself.
Merge branch 'master' of https://github.com/smowton/scan