Add support for finding load time warnings

Extraction of the supporting code from rspec/rspec-core#1654.
When running the new shared spec that loads each of the rspec support lib files in a new ruby process, the method isn't defined because it doesn't load rspec-core.