Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type.

Ticket: https://code.djangoproject.com/ticket/20812