SENIOR SUBORDINATED SECURED NOTE AND WARRANT PURCHASE AGREEMENT among SOFTBRANDS, INC. and certain of its SUBSIDIARIES and CAPITAL RESOURCE PARTNERS IV, L.P., Dated as of November 26, 2002