[FEATURE] Add flexible template selection

Change-Id: I7f7d46fca9cd3f1a0d41468408ec9d25d57ef2cd
Reviewed-on: https://review.typo3.org/26949
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
[TASK] Add migration script

Change-Id: I9410449cb70ed7025a1f53379f04840d88012c58
Reviewed-on: https://review.typo3.org/26950
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot