More lenient keys in :versions allowed, fixes #1

Recursively search for a version string using the first non-nil result
of trying the following keys, in order: the fully-qualified id field of
the dependency vector, its version field, just the artifact id, and then
finally just the group id. If none of those are found, return the
version.