STOCK PURCHASE AND WARRANT AGREEMENT Between KFx INC. a Delaware limited liability company and ARCH COAL, INC. a Delaware corporation October 5, 2005