Minimal refactoring.
Simple object pool implemented.
Updates to logger:
- Can create event from exception
- Removed locking, use pooled commands
- SqlLogWriter doesn't die on server failure by default

Updated all projects to initialize logger.
Retry logic in scheduler implemented. It should be more stable now.