Bartomeu quits, Barca 'agrees' to join European Superleague