Standardizes template variables by passing them through controllertemplate instead of moduleSelfAwarenes() and (re)names modelname to model_name and table to model_table for consistency and to prevent collisions in some templates