War crimes in Palestinian territories will be investigated by the International Criminal Court drawing an angry response from Israel but praise from Palestine, with even militant group Hamas welcoming the probe.