Thousands of Muslims in countries around the world have held protests to vent their fury at France over its perceived animosity towards Islam.