MDL-32639 files: Removing '0' start folder in archives created with filemanager

Signed-off-by: Vadim Dvorovenko <vadimon@mail.ru>

Conflicts:

	lib/filestorage/zip_archive.php
MDL-32639 files: Improved File Manager download and zip support

Conflicts:

	lib/filestorage/zip_packer.php
MDL-32639 files: Zipping a folder does not overwrite existing files
MDL-36456 repository: S3 handles errors in a nicer way
MDL-36958 Forum: Replaced hard-coded numbers with proper defines
MDL-35653 - mod/wiki: Force format now lets users edit wiki pages.

Thanks to Tõnis Tartes for part of this solution.

When force format was selected in the options, trying to view the
wiki would redirect to the front page with a message saying that
you do not have permission to edit this page. Students had no way
of viewing any entries or creating the first page.

When in force format it skips a page , which would be considered
uncessary for students, but this means that the group id is not set
and this is what is causing most of the problems.

I also have included a check to see if the title is default and whether
the user has permission to view all groups. In these situations the
intermediate page is displayed.
MDL-37220 course dndupload - improved 'add files' icon
MDL-37015 Resource: link in onclick should not contain html special char
MDL-35833 - Blocks - Adding alt and title attributes to the docked-block panel close button
MDL-37186 add the ultimate TinyMCE custom parameter setting
MDL-36807 use our mysql socket logic in adodb tests
MDL-36212 rework html entity conversions

This should resolve all html entity conversion problems in different PHP versions.
MDL-37263 cache: fixed event invalidation coding error
MDL-28183 add num parts correct and clear wrong to multianswer
MDL-37191 do not timeout when uninstalling plugins
MDL-37233 do not show skype status icon on https sites

Funny that the same company that implemented the IE security warnings is unable to set up SSL on the Skype status server…
MDL-37254 add missing AS keyword
MDL-37152 remove bogus $mail->IsSMTP() breaking non-smtp mailing

Credit goes to Aurelijus Bruzas, thanks.
MDL-37281 fix other users current navigation node
MDL-37283 import tinymce spellchecker 2.0.6.1