Improve Scala highlighting.

This commit adds support for highlighting Scala types and type
parameters, and fixes support for method and class names.