Thailand's former prime minister Yingluck Shinawatra has been sentenced in absentia following for mismanaging a rice subsidy scheme that cost the country billions of dollars.