core: add m.modules.active.mod_foobar to test if a modules is active. Remove checks with the code server if a module is running.

(cherry picked from commit 18140efeed5686ae2b4f642cf9b9d7bdc7555f11)
m.modules: replace usage of m.modules.info. with m.modules.active.

(cherry picked from commit 5e1a1f6f4505a2b92267e67b5c07346a489b1065)

Conflicts:
	modules/mod_admin_frontend/templates/_admin_frontend_edit.tpl