Finished implementation of C++ version of "skeleton"; various bugfixes

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/pcalg@222 edb9625f-4e0d-4859-8d74-9fd3b1da38cb