Merge pull request #1012 from nlegoff/fix1714

[Ready][3.8] Fix #1714 First status is not applied on document after upload
Fix typo
Add error reporting setting

Conflicts:
	tests/classes/PhraseanetTestCase.php
Fix tests
Merge branch '3.8'

Conflicts:
	tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration-setup.yml
	tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration.yml
	tests/classes/PhraseanetPHPUnitAbstract.php
Merge pull request #1015 from romainneutron/fix-typo

[3.9] Fix typo
Transform thesaurus preset into doctrine Entity
Update version
Add patch