AGREEMENT AND PLAN OF MERGER by and among VERSATA ENTERPRISES, INC., GN ACQUISITION, INC. and GENSYM CORPORATION Dated as of August 13, 2007