Update artifact checkout to handle artifact refs
Description
Now that we can load the build dependencies of artifacts given an artifact ref, I've extended support for bst artifact checkout
so that it can handle artifact refs as arguments.
If a user tries to checkout the runtime dependencies of an artifact, BuildStream will error.
This MR also includes some general cleanup of artifact checkout
.
This MR partially addresses #822 (closed)
Edited by James Ennis