add very basic and experimental plugin support

normal output is currently extremely broken, but this is the first step
in transitioning to an interface with full plugin support
remove unused file
convert (most of) the rest of the events

temporarily dropping support for NpcInfo and SelfInfo