Do the whitespace replace on the whole output, not each token
Changed some tests based on what I think it should actually be

I don't think a macro in a spaceless tag should be affected, but when a
macro is used the output of it should be affected
Merge pull request #534 from janka102/fix-#526

Fixed spaceless tag stripping too much (#526)