THERAVANCE, INC. CLASS A COMMON STOCK PURCHASE AGREEMENT September , 2004