Twitter’s acquisition of MoPub, like Facebook’s acquisition of Instagram, makes complete sense in light of its impending IPO.