Add the GlobalBlockingHooks class

In order to pull this code out of the messy,
multi-purpose GlobalBlocking class.

Change-Id: I71871281a27e7f137c022ed7e53433df7f7213d0
Merge "Add the GlobalBlockingHooks class"