[ticket/12160] Move phpbb_check_installation_exists() to functions_install.php

PHPBB3-12160
[ticket/12160] Use phpbb_check_installation_exists() in the other modules.

PHPBB3-12160