Factored common code for -discardObjects: and -removeSingleObjectWithUUID: into -discardObject:

git-svn-id: svn://svn.gna.org/svn/etoile/trunk/Etoile/Frameworks/CoreObject@9797 7b3f36aa-e6db-49c1-8b4c-66eac1997e64