async function readProject( directory ) {
  const validPath = join( directory, PROJECT_FILE_NAME ),
        fallbackPath = join( directory, PROJECT_FALLBAK_NAME ),
        filePath = fs.existsSync( validPath ) ? validPath : fallbackPath;
  try {
    const text = await readFile( filePath, "utf8" );
    return parseJson( text, filePath );
  } catch ( e ) {
    log.warn( `Renderer process: io.readProject: ${ e }` );
    throw new IoError( `Project file ${filePath} cannot be open.
          Please make sure that the file exists and that you have read permission for it` );
  }
}
Read project file from given directory
@param {String} directory
@returns {Array|Object}