STOCK PURCHASE AGREEMENT between TPG HOLDING COMPANY LIMITED and ENVOY CORPORATION Dated as of October 21, 2003