Include static properties in jest mocks for core components
Include static properties in jest mocks for core components

Summary: This is necessary to provide things like `Image.prefetch` in Jest tests. Previously this only gave access to propTypes.

Reviewed By: sahrens

Differential Revision: D8526494

fbshipit-source-id: 11d49d95d6edf3f75c90438e0b629f5345bc980d

javache/react-native,myntra/react-native,hoangpham95/react-native,hammerandchisel/react-native,pandiaraj44/react-native,hammerandchisel/react-native,facebook/react-native,hoangpham95/react-native,exponent/react-native,hammerandchisel/react-native,exponentjs/react-native,javache/react-native,hammerandchisel/react-native,janicduplessis/react-native,exponentjs/react-native,facebook/react-native,janicduplessis/react-native,javache/react-native,exponent/react-native,myntra/react-native,hoangpham95/react-native,pandiaraj44/react-native,hammerandchisel/react-native,janicduplessis/react-native,javache/react-native,exponent/react-native,myntra/react-native,hammerandchisel/react-native,myntra/react-native,arthuralee/react-native,javache/react-native,facebook/react-native,exponentjs/react-native,exponentjs/react-native,exponent/react-native,exponent/react-native,janicduplessis/react-native,exponent/react-native,arthuralee/react-native,hoangpham95/react-native,hoangpham95/react-native,myntra/react-native,javache/react-native,facebook/react-native,exponentjs/react-native,janicduplessis/react-native,exponent/react-native,janicduplessis/react-native,hammerandchisel/react-native,pandiaraj44/react-native,exponent/react-native,javache/react-native,hammerandchisel/react-native,arthuralee/react-native,hoangpham95/react-native,pandiaraj44/react-native,pandiaraj44/react-native,facebook/react-native,pandiaraj44/react-native,myntra/react-native,myntra/react-native,janicduplessis/react-native,exponentjs/react-native,myntra/react-native,arthuralee/react-native,facebook/react-native,arthuralee/react-native,pandiaraj44/react-native,facebook/react-native,hoangpham95/react-native,hoangpham95/react-native,pandiaraj44/react-native,facebook/react-native,exponentjs/react-native,exponentjs/react-native,javache/react-native,facebook/react-native,myntra/react-native,javache/react-native,janicduplessis/react-native