only require and register autoloader if twigPathAlias is set. This should take care of issues when using composer