deprecated some functions in Object

* Object::retainCount() -> Object::getReferenceCount()
* deprecated Object::isSingleReference(), it is needless, because we can use the result of Object::getReferenceCount() to compare with 1 to determine if it is single reference or not.