The speaker of the House of Commons resigned over an MPs' expenses scandal which has plunged Britain into its worst political crisis for years and outraged voters.