Fixed Dropbox/Google storage async save call

When clicking "Grant access", the settings for Dropbox/Google were saved
through a call that gets cancelled when redirecting to the grant page
(for example in Firefox)

This fix makes sure the "save settings" call finished before redirecting
to the grant page.

Fixes #6176
Fixing Issue #6301 on master branch
Added private var $certPath to store the user root cert

Move logic to determine the $certPath path to the constructor and modify to get the path from OC_User::getHome()

Add curl options to use the certificate to avoid certificate errors with self-signed certicates in the downdload/upload method so we don't get blank files
Fixing tab/space coding style
Only set SSL things when ```$this->secure``` is ```true```
Fix ```createCertificateBundle``` and  ```getCertificates``` methods
from ```OC_Mount_config``` to use ```OC_User::getHome``` to get the
path
Unshare all will now delete all shares for the item, instead of only for a single owner.
fix email template l10n, emphasize filename
Fix calculated folder size to use unencrypted size

The encrypted size was used when calculating folder sizes.
This fix now also sums up the unencrypted size and shows that one when
available.
updated the unit test for OCP\Share::unshareAll() to verify that shares by all users are removed for an item.
Disabled internet checking as mentioned when in proxy mode
Fixed various file name escaping issues in core apps

- Refactored file tr lookup into FileList.findFileEl that uses
  filterAttr to avoid escaping issues in jQuery selectors
- Fixed versions and sharing app to properly escape file names in
  attributes
fix upload button layout
remove extra upload controls
modify js to move upload wrapper, modify css to match core values
Added SVG fallback to apps settings popup

This fix issue of calendar app with IE8, see issue report for details:
https://github.com/owncloud/calendar/issues/291
Merge pull request #6713 from owncloud/files-filenameescapingfixes

Fixed various file name escaping issues in core apps
fixing typo in redirection query string
keep response message
Merge pull request #6694 from owncloud/fix-email-template-l10n

fix email template l10n, emphasize filename
no warnings within unlinkDir() within the TestCleanupListener
Merge pull request #6734 from st3so/redirectfix

fixing typo in redirection query string