make Plugin a new-style class

this way other plugins can set targets or graphs as object variables
in __init__ and reference things like self.colors and call init
on super
I tried some approaches to refactor the configure functions in the
plugins but ended up with nothing that was simpler