Scanner finally scans standalone correctly

Scanner now scans standalone correctly regarding to spec (see test/bug-tracker.org)
Updates tests because of new scanner.

The new scanner generates tokens differently from the old one.