core: AuditLogDirector tests and some cleanups

Change-Id: I6cb777a39dbe19510d8a0466e6dff80da1b234ba
Signed-off-by: Tal Nisan <tnisan@redhat.com>