Enhance: Cache CSS style data for TTextEdit::copySelectionToClipboardHTML()

Implements the previously mentioned CSS cache - analyse clipboard
selection's CSS style and replace each instance in the HTML <body> with
a class reference to the same in the <head> part of the HTML document.  A
test case of a log from over an hours worth of play on a MUD reduced a file
of size 1.7 to just under 0.9 MBytes with no appreciable delay.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
Revision: Disable Font-size in TTextEdit::copySelectionToClipboardHTML()

Following a request, the copy to HTML action for Consoles / Mini-Consoles
no longer tries to reproduce the font-size of the source material, it now
uses a 100% sized font, with a 1.125em line-spacing for all HTML produced.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
Revision: force LFs with <br> in TTextEdit::copySelectionToClipboardHTML()

Following a request both literal line-feeds AND <br> tags are used to mark
an actual end of line in the HTML produced by the Console/MiniConsole
copy to HTML function.  To prevent double-LFs from occurring the CSS
"white-style" mode has been changed from "pre-wrap" to "nowrap".  This
means that the source HTML is not all on one line when viewed in a normal
text editor as the parse of a web-browser should now ignore LFs in the
HTML.  However it also means that tabs may not work...

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>