Fixes error message on publishing when it fails due to any of these statuses: FailedHasExpired, FailedAwaitingRelease, FailedIsTrashed
fixed an upgrade script when upgrading from old 4.x versions
Fixes: U4-2356
Fixes: U4-4842 Unable to edit "name" and "alias" to MediaType property
Fixes: U4-4926 Pre-values need to be cloned in/out of the cache

Conflicts:
	src/Umbraco.Core/Models/PreValue.cs
	src/Umbraco.Core/Models/PreValueCollection.cs
Fix the build
Bugfix media cache property alias case sensitivity
Fixes U4-4650 Pluralization of document type aliases doesn't always work
U4-4650 Pluralization of document type aliases doesn't always work
U4-4930 NuGet update fails to copy new Umbraco binaries
U4-4861 6.2.0 Nuget package copies wrong files
U4-4949 - fix issue with domains
Fixes U4-4264 while we wait for angularification.
Fixes: U4-4952 RTE: macro editing - parameter dialog blank
Merge pull request #387 from lars-erik/Fix-U4-4264

Fixes U4-4264 (dictionary tree collapses) while we wait for angularification.
fixes csrf with mediauploader.ashx
Merge remote-tracking branch 'origin/6.2.1' into 7.1.4

Conflicts:
	src/Umbraco.Core/Models/DeepCloneHelper.cs
	src/Umbraco.Core/Models/PreValue.cs
	src/Umbraco.Core/Models/PreValueCollection.cs
	src/Umbraco.Tests/Persistence/Repositories/TemplateRepositoryTest.cs
	src/Umbraco.Web/umbraco.presentation/umbraco/editContent.aspx.cs
ensures session id is set on user data on login.
U4-4922 - add details to error message