Update versions of Scala and dependencies
Add Maven publishing settings
Fix scaladoc
Use some feature options to scalac