writerfilter: use DomainMapperFactory

Change-Id: I8053676f9aec8f20dc9753c5651a072c5d80c1f2
Avoid '#include "../'

Change-Id: I1ae598269b81095dc7d6ad83044f228d1297bfb8
writerfilter: only dmapper needs DomainMapper.hxx

Change-Id: I9508938754cf353ecc210eb13d7063ac7ef437bf
writerfilter: only dmapper needs LoggedResources

Change-Id: Ic8c691c4185ec8b808e75885f9354c35d68be58c