Refactor: Reduce cyclomatic complexity
Reduce cyclomatic complexity on DocumentProperties and Word2007 Document Writer.
Breakdown HTML Writer to head and body parts and more cyclomatic complexity reductions