Ensure GenericForeignKey works with UUID PKs by using to_python for type conversion. Fixes issue where prefetch_related returned None for GFKs to UUID models. References: justquick/django-activity-stream#245
This resolves a problem on databases besides PostgreSQL when using prefetch_related with a source model that uses a UUID primary key.