Flashy acquisitions and a debate about women having it all. Marissa Mayer became CEO of Yahoo while the company was in turmoil, hoping to make it cool again.