Thousands of Scottish schoolchildren will receive accredited elementary food hygiene training with the help of Food Standards Agency Scotland funding.