Check return of fopen() before using it

Fix #9968
remove obsolete japanese lang code
Make skeleton directory configurable.
Remove X-Mailer header from mails
Merge pull request #10407 from owncloud/rm-obsolete-japanese

remove obsolete japanese lang code
Merge pull request #10469 from owncloud/remove-xmailer-header

Remove X-Mailer header from mails
check if array index ocsid is set before accessing it
according to PHPDoc this function shall return the entity
Merge pull request #10471 from owncloud/fix-db-mapper-update

according to PHPDoc this function shall return the entity
Merge pull request #10456 from kroimon/skeleton_dir_config

Make skeleton directory configurable.
[tx-robot] updated from transifex
Merge pull request #10156 from owncloud/issue/9968

Check return of fopen() before using it
Merge pull request #10472 from owncloud/fix_undefined_index_ocsid

check if array index ocsid is set before accessing it