Allowed a message to be passed to assertQuerysetEqual to make it consistent with other assert methods.
Refactored RecursiveM2MTests into smaller pieces, refs #18586.