Add before and after route activation hooks

These hooks provide a way to get more information about which routes are
activated (i.e., metrics, filtering, etc...)