Add more TRAILING_PUNCTUATION to work with YAML.

Fixes #1517
Allow unicode YAML dump with UnicodeYAMLRenderer

Fixes #1519
Document new UnicodeYAMLRenderer
Set GenericForeignKey fields on object before save

* A model with a required GenericForeignKey can be saved if the field is set
Use setattr for adding fields to a new instance

Add test for restoring a GenericForeignKey
Fixed parse file name
Removed encode from test

Django does not produce such a decoding by default, this test was not honest.
Merge pull request #1529 from vlastv/patch-1

Fixed parse file name
Fixed return type

From bytes to str
Removed decode from test filename
Fixed convert bytes to str

Use compact function for convert
Merge pull request #1530 from vlastv/patch-3

Fixed return type
Add test for UnicodeYAMLRenderer
Merge pull request #1520 from hroncok/patch-2

Allow unicode YAML dump
Introduce tests for urlize_quoted_links() function
Merge pull request #1518 from hroncok/patch-1

Add more TRAILING_PUNCTUATION to work with YAML
Merge pull request #1527 from Ian-Foote/generic_foreign_key

Set GenericForeignKey fields on object before save