closed #2865: Deprecates CCNotificationCenter, uses EventDispatcher instead.
Updates nativeactivity.cpp.
texture listener was enabled only when the macro CC_ENABLE_CACHE_TEXTURE_DATA was enabled.
Merge pull request #3864 from dumganhar/iss2865-deprecate-ccnotification

closed #2865:Deprecates NotificationCenter, uses new EventDispatcher instead.