Fix broken new lines in plain text mail template
Use correct language package so the subject is correctly translated

Fix #10847

Conflicts:
	lib/private/share/mailnotifications.php
Merge pull request #10973 from owncloud/stable7-issue/10847

[Stable7] Use correct language package so the subject is correctly translated
Use section in first element
Merge pull request #10998 from owncloud/use-section-in-form

Use section in first element in user_ldap
Add X-UA-Compatible to all templates

Replaces https://github.com/owncloud/core/pull/10850
repair search lucene before installing
improve style of checkmark icon, less bold, fitting ownCloud style
fix size of toggle icon, make container square
fix svg of calendar filetype icon
fix folder icon alignment, fix #10866
Fixes #8326: deletion of directories on S3
Converted an array to PHP5.3 compatible version
fix nojavascript message alignment
content size checks are not valid for LOCK
content size checks are not valid for LOCK
Do not double decode values

Fixes https://github.com/owncloud/core/issues/11012
if only one attribute is requested, the returned array has 0 as key instead of attribute name. fixes #10888
Set overwritewebroot when installing owncloud to avoid problems

Backport of 249558966e6a144cf0fb873a3fac5a3664cfdd9d to stable7
Remove passing by reference to allow for proper GC

The garbage collector in PHP 5.3.10 does not properly release the file
handle when calling fclose() due to the fact that it is passed by
reference.
This has the side-effect of preventing file locks to be released as well
when the files_locking app is enabled.

This fix removes the useless passing by reference and now the file
handle and file lock are freed properly.