Berkshelf::Depdenency had an infinite mutual recursion
in #locked_version and #cached_cookbook. This is removed.

Instead of getting the cached_cookbook to find the version, just read
locked_version