Cleanup in AbstractDaemonApplication

- Don't directly access the logger object, use `hasLogger()` and `getLogger()` instead
- Add a static container for the application for use in static methods