The mother of Shannon Matthews has been jailed for eight years for her role in the kidnap of her daughter.