Fixed Django 1.7 support (StrAndUnicode was deprecated)
Improve logging output for invalid URLs
Fix unpickle support for custom registries