SERIES A CONVERTIBLE DEBENTURES AND SERIES 1, 2 AND 3 DETACHABLE WARRANT PURCHASE AGREEMENT