Better detection of custom matcher for RSpec 2.99

RSpec 2.99 was a upgrade path release which caused problems with the way we were detecting which custom matcher error failure methods to define.