HUE-1729 [spark] Syntax highlighting for Scala and Java and hints

Added Java, Scala and Python autocomplete
Editor mode changes dinamycally now
Got rid of unused code