An overwhelming majority of members at the United Nations have been calling for peace and a two-state solution that allows Palestinians to live freely in Gaza.