Kfsti 668

This is the initial PR  for applying the KC CGB overlay project to KC 6.0. It should obviously be reviewed closely.
Please replace calls to GlobalVariables with GlobalVariablesService and refer to the getter.

```
private GlobalVariablesService globalVariablesService;

public void setGlobalVariablesService(GlobalVariablesService dataDictionaryService) {
    this.globalVariablesService = globalVariablesService;
} 

public GlobalVariablesService getGlobalVariablesService() {
    if (this.globalVariablesService == null) {
        this.globalVariablesService = KcServiceLocator.getService(GlobalVariablesService.class);
    }
    return this.globalVariablesService; 
}
```