fix handling of self closing tags, fixes #153
Don't trim or mangle whitespace in <pre> nodes.
As a side effect I stopped collapsing [\n\t ]+ to a single space in general.
Fixes #107 again.