Add sorting to files list, trashbin and public files
Set default sort of trashbin to timestamp descending
Added unit test in files app for sort function in helper class

Added unit test for the Helper class in the files app that tests the
different sort orders.
$RUNTIME_APPTYPES is no longer used - left over from pre OC4
html input tag has no closing tag
typos, indentation and remove of unused code
Clear selection on reload (when changing sort)
Add prompt dialog to OC.dialogs
escape display name and email
- make logger available in the container
- inject logger class into log
- adding PHPDoc comments and fixing typos
Fix Typo, define $ as global
Use proper PHPDoc and variable names in the LDAP lib

My IDE was so sad about this that it marked the whole file in red and yellow and forced me to fix this.
Fix Typo

I guess that should be `default` and not `defautl`, wondering how this ever worked.
Use @return instead of @returns
Use WizardResult|false instead of mixed
That's bool and not always true
adding interpolation as requested by PSR-3
 Rotate thumbnail when encryption is enabled

When a picture is encrypted, save it to a temporary file first so that
the PHP function for rotation can access it as file.
fix style
Merge pull request #8041 from owncloud/files-sortcolumns

File list sorting by clicking on column headers