Four convicts in the Delhi bus rape case have been hanged, ending a seven-year legal battle.