fix knife spork promote for Berkshelf-managed cookbooks

For new redley/berkshelf methods '::Berkshelf::Lockfile.new' and 'berksfile.resolve' don't work. I don't understand what it doing, but with it I can't promote my berkshelf-managed community cookbooks to any env. 
Trying to fix.