Former Republic of Ireland footballer Anthony Stokes, 36, has been handed a 15-month jail sentence over a seizure of €3,700 (roughly £3,100) worth of cocaine and a high-speed car chase in Dublin.