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.
m.modules: replace usage of m.modules.info. with m.modules.active.