Compactible with Contao 2.11.10 and 3.0.6

Added some Contao 3 stuff.