Use .includes instead of .startsWith for checking ignored YellowBox warnings
Use .includes instead of .startsWith for checking ignored YellowBox warnings

Summary:
Some warnings don't have a good prefix that can be targeted using .startsWith, e.g. "Module $modulename requires main queue setup". It would be helpful to be able to select this warning using the much more specific middle part of the string ("requires main queue setup since it overrides `constantsToExport`) so I want to change this check from startsWith to includes to enable that.

Changing from .startsWith -> .includes should be completely backward compatible.

Reviewed By: TheSavior

Differential Revision: D7445309

fbshipit-source-id: 2c91dbe5ee3c3aa74be1bca091b20d294e64e853

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