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

https://tracker.phpbb.com/browse/PHPBB3-11854

TODO:
- [x] Migration to update the current setting

PHPBB3-11854
I'd just call this captcha.factory to actually fit the class name and the other service names