Allow [observeValueForKeyPath:ofObject:change:context:] to be stubbed

This change allows using mock objects to test if a KVO notification is triggered by the object under test.