The International Criminal Court has issued arrest warrants for Israel Prime Minister Benjamin Netanyahu, a former defence minister and a Hamas military leader.