An eight-hour choral extravaganza of a universal prayer is to open the Edinburgh International Festival at the Usher Hall.