Introduced SGRefObject (pulling refcounting out of CSGObject)
Putting refcounting from SGObject to new super class SGRefObject.
Fix libshogun example (preventing segfault when shogun_exit() is called before
kernel objects are destroyed)
Merge pull request #1771 from tklein23/csgobject_refactoring

CSGObject refactoring: Introduced SGRefObject