Why a deal for MoPub was the finishing touch Twitter needed to prepare for its IPO