Fix scala syntax highlighting unit tests.
Fix missing references.
Enable scala emacs output.