Powerup system completely redone

A completely new system for powerups has been put in place. It is very
much like the system you might use to register an event.