Add the ability to deprecate an artifact

Fixes #8.