Refactored IDocumentStatistics our of SwDoc.

Into the new class DocumentStatisticsManager.

Change-Id: I281232dc09dbd79c2faf3c2a78ae49625bbe88ee