Fix bug:

- Rewrite module name in static method Module::_isTemplateOverloadedStatic if the module is overrided
- Change dirname path in core module file by the absolute orignal path (for require or include)
- Change context of method private to protected