Abstract over dependency kind in Analysis

Work in progress to make it easier to add new kinds of dependency.

Please see this discussion : https://groups.google.com/forum/#!topic/sbt-dev/clIbzCp9VX8
Sbt 0.13.7 has been released already. All deprecations need to be changed to have "0.13.8" as a version number.