India says it has hanged Ajmal Kasab, a gunman from the 2008 attack on Mumbai.