Provide public API for checking if a gemspec has a stubline

I'd like there to be a public API for checking if a gemspec is stubbed. I want this so that I can warn users of [spring](https://github.com/jonleighton/spring) when they have unstubbed gemspecs present, so that I can encourage them to run `gem pristine` and get the speed benefits.