Added support for a `FileExtensionValidator`.

Todo:
* [ ] Add docs
* [ ] Possibly add validator as default to ImageField

Ticket: 21548.