Fixed #22991 -- Autoreloading *.pyc files

https://code.djangoproject.com/ticket/22991

I would appreciate someone else writing a test case.