Basic logging

1. For internal errors (e.g. missing input)
2. For code errors (e.g. type mismatch)
Merge branch 'master' of git@github.com:yannbane/kc-scala.git