Update to use new approach to IDs.
Started on MavenArtifactProject; much tidying.
Inherit from AFP; other tidying.
Factored some depends stuff out for sharing.
Some rearrangery.