Yahoo and Twitter are just the latest tech companies shaping plans for major overhauls and management shake-ups. A look back at how Priceline, Amazon and eBay weathered turbulent times.