A legal battle between Crystal Palace and its former manager reaches an end following an out-of-court settlement.