ISIL captured the city of Marawi in the southern Philippines to turn it into a new caliphate of the so-called Islamic State.