STOCK PURCHASE AGREEMENT by and between INTERMOUNTAIN INDUSTRIES, INC. and MDU RESOURCES GROUP, INC. Dated as of July 1, 2008