upgrade to unidoc 0.3.1

fix and tidy up scaladoc.sbt