project: util code for dependencies

 - Add Dependencies object to project.
 - Adjust build.sbt to use new methods
   in Dependencies.
 - Various minor tweaks.