Use dependencies' Berksfiles and allow using versions from metadata to compute tags

This replaces https://github.com/clearstorydata/berkshelf/pull/1.