Coming from #1871036: Code clean-up 8.x and refactoring of Drupal Firewall

Problem/Motivation

Sometimes we want to override/toggle low lewel dependencies

Proposed resolution

- container could be swapped/overriden
Suppose for D8 the storage would be not config but State() instead

Remaining tasks

#1927804: Dfw tests

User interface changes

todo

API changes

todo

Original report by andypost

#1871036-3: Code clean-up 8.x and refactoring of Drupal Firewall

Follow up issues

todo