Feature standalone rules

This pull requests extracts the Replacer logic from the listener and the database driven rule models. 

With this changes it will be possible to load different rules into the replacer which can do anything to the dom document.

So there is no need to create another dom representation of the current document if other changes should be applied dynamically as well.

To summarize the changes:
 * Introduce a `RuleInterface` and extract the css class replacer logic to `ClassAttributeRule`
 * Introduce a `DomManipulator` which can be used without the `Listener`
 * Provide a `loadCssClassReplacerRules` hook so that other rules can be loaded.

Ich bin mässig Fan von den unnötigen, zusätzlichen Arrays. Man kann ja das Array einfach per Referenz ändern. In Contao gibt's nicht wirklich einen Standard. Die meisten haben einen Return-Value. Manche aber auch nicht, also denke ich wir können das weglassen, was meinst du?