Common code for Deadbolt 2
All global state-based elements have been removed from Deadbolt 2.6. To ease migration, they are still available through this drop-in library.