Add some last changes for contao 3. Add a new flag for auto mode. Remove some unused fields/functions from the dca.