30 years ago, the Israelis and Palestinians signed an agreement many thought was set in stone. Now, as it lies battered and seemingly done for, here are the lessons we can draw