move Berksfile#resolver to a private function

fix formatting issues with comments and error message length in Berksfile
use Berkshelf::Mixin::Logging in Berksfile to log exceptions