Uses a faster implementation for ensure_required_validations!

While updating an application to Paperclip 4.2.0, I noticed its specs where a lot slower after the upgrade. While investigating, I've found that the usage of the `descendants` method was the culprit. This PR uses an alternative implementation to avoid its usage, which brings the specs to the same running time as before.