Deprecated ScalaCodeScanner.tokenize(IDocument, Int, Int) incorrectly handled offset in generated tokens.

Also added a test.

Fixes bug introduced (into master) by SHA: e17b2ae97aaa5644d0cf1ad09ff6bc5ad039002a
Merge pull request #470 from jhaberstro/scala-code-tokenizer-fix

Deprecated ScalaCodeScanner.tokenize(IDocument, Int, Int) incorrectly handled offset in generated tokens.