TUBEMOGUL, INC. AMENDED AND RESTATED INVESTOR RIGHTS AGREEMENT December 10, 2012