Recognise tabs as whitespace.

This is a naive fix for topazproject#321. All the tests (including the two new assertions I added) pass. I'm not entirely convinced that this is correct in all cases, but I don't have any counterexamples handy.