[Fixed] <module>/index errors on some templates

On specific templates like IFRC, on which "cms" module is disabled, the cms_index function gives an error when it tries to run the controller using "run_controller_in".

This is because there is no import statement in the controller in the new environment.

In templates which have the "cms" module, this problem does not occur, because necessary imports are made from config.py and controller does not re-run.