Dependency kind compile

This follows up on my work to make it easier to add new dependency kind in sbt.

This is the last part that needs to be adapted to take advantage of the new infrastructure that has been introduced by :
 - Abstract over dependency kind in Analysis (#1340)
 - Don't hardcode relations in TextAnalysisFormat (#1572)

/cc @xeno-by