Use ancestors' `hash_including` if available.

The previous solution didn't work because rspec does a complicated dance
with module inclusion and inheritence, so we must check this condition
at call-time, rather than include-time.