EventService GetBy Time works

It works for several servers. Has good test also. Added AppConfig_mock.
Better Test Rig. Did some code refactor and split up som interfaces and
classes