Refactor Logger
- Get rid of
_build_contact_where()
which makes a SELECT query to get thejid
from ajid_id
, this leads to multiple SELECT Querys for every single Database search. - JOIN the jids and logs table instead, lets use SQL for what it was made
- Simplify code around date and time calculations
- Add detailed method documentation