Add plugin activations/deactivations to bstat

Track plugin activations/deactivations in bstat