COMMON STOCK AND WARRANT PURCHASE AGREEMENT by and among NexMed, Inc., as Issuer and Seller