[ticket/11768] Committing unfinished work. Everything's broken [ci skip]

PHPBB3-11768
[ticket/11768] Set the cache dir to tests/tmp/ during testing

PHPBB3-11768
[ticket/11768] Updated the textformatter services. Everything else still broken

PHPBB3-11768
[ticket/11768] Working on textformatter services.

Functional, but some tests missing.

PHPBB3-11768