[ticket/12268] Move class out of extension namespace and rename it

PHPBB3-12268