Fix applicationlogging XML bug and added getApplicationDTO method to
ControlService