Fixes #U4-2361
Merge branch '6.0.7' into 6.1.2
Adding some internal bits in the ServiceContextManager and PackagingService
Bugfix for previous pullrequest "Duplicate e-mail addresses: U4-315, U4-2147, U4-304"

There was a bug in the previous pullrequest that didn't allow a member
to saved if the email wasn't changed. Furthermore duplicate emails are
now prevented if requireUniqueEmail was false, but is switched to true
(when saving a member)
Merge pull request #33 from bokmadsen/6.0.7

Bugfix for previous pullrequest "Duplicate e-mail addresses: U4-315, U4-...
Moving generation of xml from ContentExtensions to the PackagingService
Fixes U4-2182 and U4-2167
Fixes U4-2234
Fixes U4-2234 including test case from issue
Merge branch '6.0.7' into 6.1.2
Fixes U4-2404 Photo gallery broken on Azure - Since the template saving routine is doing ToSafeAlias, we should also do it when setting the default template
Merge branch '6.0.7' of github.com:umbraco/Umbraco-CMS into 6.0.7
Merge branch '6.0.7' into 6.1.2
Fixed naming conventions and changed new classes to internal since we shouldn't expose these publicly (they are already legacy)
updated some legacy references
Fixing another part of #U4-2186
Fixing issue in previous fix for #U4-2182
It hurts having to do this, but Sebastiaan says I have to. So re-wiring the BulkPublishController to use the legacy Document class so legacy events are also fired.
Bump version number
Updating nuspec files and build