DEBENTURE AND WARRANT PURCHASE AGREEMENT Dated as of August 18, 2008 by and between ELECTRO ENERGY, INC. and THE QUERCUS TRUST