Support for network-path references in contenttypes.views.shortcut.

Referencing ticket: https://code.djangoproject.com/ticket/16727