Fix unique constraint violation and UnicodeEncodeError in publisher_publish command
Fix publisher_publish tests on Django 1.4
Merge pull request #3407 from Pankrat/develop

Fix unique constraint violation and unicode error in publisher_publish command