add test for issue #47
add a special whitespace ignoring rule

We need to ignore all whitespace except for newlines.  This rule
accomplishes that by defining a whitespace token that's simply ignored.
Much like comments.  Of course, it's not as nice as using the built-in
mechanism but we can't pass character classes to the built-in mechanism.