CSGObject refactoring: Introduced SGRefObject

* SGRefObject only contains refcounting stuff, which has been pulled out of CSGObject.
* CSGObject is now subclass of SGRefObject