Yet another cleanup
Fix setting the max-upload-size for really large values.

php can only parse filesize units up to gigabytes, not terabytes or petabytes.
Send URI instead of filepath to NGINX for X-Accel
Add unit tests for OC_Helper::phpFileSize function
Vertically align public layout to better fit small mobile screens
be nice and use a relative import so people can use the class without firing up owncloud
Fix PHPdoc in apps/files_sharing

using scrutinizer patch
Fix PHPdoc in OC\Share\Share and OCP\Share
Fix linkToPublic. Refs #8218
Also fix linkToAbsolute
Add tests for linkTo, linkToPublic, linkToRemote, linkToRemoteBase
Remove unused var
port database layer from appframework to core
fix scrutinizer issues
fix doc strings for db facade
remove unusued variable
remove unusued variable
move db into iservercontainer
remove useless import
Fix typo & add type