emgm: Rename encodeS to sum in sum example
emgm: import scala.language.higherKinds

This drops feature warnings
build.sbt: Pass -unchecked -deprecation -feature to scalac

We want to get those warnings