code: function getProjectName(dir) {
      return fs.readFileAsync(path.join(dir, 'package.json'))
          .then(JSON.parse & _.name)
          .catchThrow(new Error('Failed to parse package.json from the project'));
  }
docs: Opens package.json and extrats its contents. Returns a promise containing
  the file list to be zipped and the package.json content parsed
  
  @param {String} dir
  @return {Promise}