President Mahmoud Abbas of the Palestinian Authority signed papers to join the court and other organizations, a move that could bring harsh sanctions.