Amazon blew away analysts' expectations, particularly on the bottom line.