Fixes #19925 - Validate REQUIRED_FIELDS is a list

This is for ticket https://code.djangoproject.com/ticket/19925

I added validation to check that `REQUIRED_FIELDS` is a list, and added tests for it as well.