Twitter chief Dick Costolo is leaving his post in two weeks, and co-founder and chairman Jack Dorsey will be taking the reins as interim CEO. It’s not the company’s first leadership shakeup, but unlike previous ones, it’s a response to sluggish performance, rather than to rapid growth.