STOCK PURCHASE AGREEMENT by and among UIL HOLDINGS CORPORATION UNITED RESOURCES, INC. and CHECKFREE CORPORATION for all of the outstanding stock of American Payment Systems, Inc. December 16, 2003