[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
actually, we are already doing that for the avatar. so ok