STOCK PURCHASE AGREEMENT between ANALOGIC CORPORATION and EMAGEON INC. Dated as of November 1, 2005