Added a missing template to the autoload and the text type.
Add support for contao 3 and DBAFS.