Update technical data on HD substitution
Fix #1707 : Update technical informations and metadata fields on record substitution
Fix #1705 : MySQL connection might be lost after long operations
Merge pull request #1001 from romainneutron/fix-1707

[Ready][3.8] Fix #1707 : Update technical informations and metadata fields on record substitution
Merge pull request #998 from romainneutron/fix-1705

[Ready][3.8] Fix #1705 : MySQL connection might be lost after long operations
Merge branch '3.8'

Conflicts:
	lib/Alchemy/Phrasea/Border/Manager.php
	lib/Alchemy/Phrasea/Controller/Prod/Tools.php
	lib/Alchemy/Phrasea/Core/Provider/BorderManagerServiceProvider.php
	lib/Alchemy/Phrasea/Core/Provider/PhraseanetServiceProvider.php
	lib/Alchemy/Phrasea/Helper/User/Manage.php
	lib/classes/User/Adapter.php
	lib/classes/connection.php
	lib/classes/connection/abstract.php
	lib/classes/connection/interface.php
	lib/classes/connection/pdo.php
	lib/classes/patch/370alpha7a.php
	lib/classes/patch/370alpha8a.php
	lib/classes/record/adapter.php
	lib/classes/task/period/RecordMover.php
	tests/Alchemy/Tests/Phrasea/Authentication/Phrasea/NativeAuthenticationTest.php
	tests/Alchemy/Tests/Phrasea/Core/Provider/BorderManagerServiceProviderTest.php
	tests/Alchemy/Tests/Phrasea/Core/Provider/PhraseanetServiceProviderTest.php
	tests/classes/PhraseanetPHPUnitAbstract.php
Use rhumsaa/uuid instead of custom uuid implementation