The full scale of the humanitarian challenge ahead is emerging as displaced Palestinians return home, writes the BBC's .