NOTE PURCHASE AGREEMENT among SATCON TECHNOLOGY CORPORATION and THE PURCHASERS NAMED HEREIN October 19, 2007