Add module access check to module dispatcher
Recent merges removed the module access check in some
modules while removing the need to have a conf.php file.
This change now adds it to a central place in mod.php
with the benefit that access checks cannot be bypassed
any more not even in third party modules, when using mod.php