But fate – and a high-school teacher – had other ideas for Emily Blunt. Jo Elvin discovers how the painfully shy schoolgirl with a debilitating stutter became one of the most celebrated actresses of her generation