Add support for "any-instance" doubles.

Any-instance doubles allow you to mock or stub methods on any (all)
instances of a class.  This should be used sparingly, but is handy for
places where the test can't get a hold of the instance in order to set
up the mocks and stubs.