The IDF are charging soldiers with war crimes to prevent the senior echelons of the IDF and Israeli politicians being arrested and sent to The Hague. Nothing to do with the IDF investigating itself and being willing to charge soldiers wit war crimes, and everything to do with The Goldstone report and the fact that it hasn't gone away unlike previous International enquiries pertaining to Israel. This is Israel trying to avoid International justice by charging the small fry, even then it is doubtful that the trial will conform to International norms, with Gazans allowed out of Gaza to testify.
UN aid chief says no warring parties observed Yemen truce (Reuters)
from the article: IDF soldier charged with killing woman during Gaza war