fix update to remove shares where file doesn't exist on postgres

Without patch, breaks with: Failed to upgrade "files_sharing".
Exception="SQLSTATE[22P02]: Invalid text representation: 7 ERROR:
invalid input syntax for integer: "5,179""

See: https://github.com/owncloud/core/issues/5758

removing unnecessary cruft - no parameter is set, none to pass.

https://github.com/owncloud/core/issues/5758

removing subquery, making more readable

See: https://github.com/owncloud/core/pull/6016#issuecomment-29510979

parameters to sql calls should be arrays

https://github.com/owncloud/core/pull/6016

boosting version to ensure fix gets executed

properly escaping the sql select statement

removing extraneous closing paren.
Refactor update script to class and add unit test
Clean up database before setup the database for testing
Added backticks for Oracle in sharing updater unit test
remove invalid shares with one SQL statement
SVG support detection

The SVGSupport checkMimeType method was failing on my setup as the headers are all returned in lowercase. I have lowercase all the indexes and modified the if statement so that it doesn't matter what case the headers are returned in
use https as submodule url

git:// domains might not be allowed in all environments, while cloning
https through a proxy is fine. -> Make checkout in restrictive
environments possible.
Fixed share updater unit test

Now using \OC_DB::insertId() to retrieve the generated ids because
Oracle ignores the passed values.
Fixed share upgrade cleanup tests to use the correct ids
general styles for the content area
replace personalblock fieldset with section div in admin and personal settings
replace personalblock fieldset with section class in files apps
replace personalblock fieldset with section class in core user_ apps
remove CSS rules for personalblock, remove it from core
remove additional radio button width declaration
convert input metrics to px
don't write file if opening a stream to encrypt the data fails
adding @method annotation to declare methods which can be called on the wrapped statement object
Merge pull request #7929 from owncloud/enc_dont_write_file_if_enc_fails

don't write file if opening a stream to encrypt the data fails
Emit event after setting a new expiration for a share

all credits to @frisco82
https://github.com/owncloud/core/pull/5335