Add an api for customising how verifying doubles are checked

This is a prerequisite for rspec/rspec-rails#1238
Do all these `const` definitions have test coverage?  It doesn't look like it...