Added support for selectively registering event handlers in an assembly.

Added support for open generic event handlers (working on extension methods to make it easier to register handlers).
Fixed broken tests and doubled overall performance.