[ticket/11854] Move captcha stuff to phpbb/ and use DI for plugins

https://tracker.phpbb.com/browse/PHPBB3-11854

TODO:
- [x] Migration to update the current setting

PHPBB3-11854
We do not prefix stuff with `core.` on other services?