[opwig] Added method to get number of parameters in Function metadata class;
[opwig] Updated wrapper base classes, fixed compiling errors and included them in CMakeLists
[opwig] fixing a small problem in CMakeLists