Increase scala version.
Resolving compile time problems due to changed APIs, yet some tests are failing.
Add IntelliJ IDEA module.
Clean-up imports, hard space -> tabs, formatting.