Thousands attended a mass funeral for 100 Palestinians whose bodies were recovered from rubble in Gaza City.