REAL GOODS SOLAR, INC. UNDERWRITING AGREEMENT 2,800 Shares of Preferred Stock Warrants to Purchase up to 509,090 Shares of Common Stock