Thousands of Yazidis have taken refuge in the past week on a bleak Iraqi mountain close to the Syrian border to escape the extremists who threaten to wipe them out.