Remove usages of ScalaCodeScanner.tokenize(d:Idocument, ...)

Fixes #170