Issue #1096: Document and write tests for the new excel export module. Passes checkstyle.
Issue #1096: Document and write tests for the new excel export module. Added tests. Bug fixes and other misc. fixes.