remove impact of ADD_IMPORTS_ON_PASTE setting on other copy-paste-related functionality
cleanup
refactoring

in preparation to next change
make rich copy work for documents with non-normalized line separators
refactor API interface
cleanup
refactoring - create both RTF and HTML flavours in one copy-paste postprocessor
do not open API for abuse
processOverlapping should iterate in order
fix test