extend OCS Share API to allow the user to ask for files shared with him
Added sharing overview page (WIP)

- added sharing overview entries in the sidebar
- use OCS Share API to get the list of files
Group shares by type
Improved FileActions with context

A context hash is now passed to file action handlers which makes it
possible to have file list specific file actions.
Fixed file actions for sharing views

FileActions can now be clone to be use for separate file list views
without having the side-effect of affecting the main file list view.

Added "Open" action in sharing overview file lists to redirect to the
regular file list when clicking on a folder.
Fixed sharing permissions
Removed selection checkboxes
Added unit test for file action context argument
Add unit tests for fileActionsReady
Fixed navigation order
Added "dir" in file actions handler context and fixed versions

Added "dir" in file actions handler context so that handlers can know
what the path of the file was without having to look it up from the file
list.

Fixed versions app to use the context.dir instead of the old $('#dir')
element. This makes the versions popup work in the sharing overview.
Small fixes to sharing overview

- Removed file size from file summary in sharing overview
- Fixed document title
- Fixed empty content text for shared overview
Distinguish legacy file actions from regular file actions

Legacy file actions are registered by legacy apps through
window.FileActions.register(). These actions can only be used by the
main file list ("all files") because legacy apps can only deal with a
single list / container.

New file actions of compatible apps must be registered through
OCA.Files.fileActions. These will be used for other lists like the
sharing overview.

Fixed versions and sharing actions to use OCA.Files.fileActions, which
makes them available in the sharing overview list.
Mimetype for sharing overview
Fix IE8 issue when icon is not defined

Sometimes no icon file is passed to replaceSVGIcon(), it showed an error
in IE8 and broke the code flow.

This fix adds a check whether the file name is set.
Fix table header colors

Table headers should be 999 even when using links (introduced by the
sorting feature)

When selecting with checkboxes, they must appear black.
Sharing overview fixes and unit tests

- Fixed renaming and fileActionsReady event
- Added unit tests for shares list
- Fixed public page with defer
- Fixed file actions in sharing overview
- Fixed sharing counterpart list (10 entries max)
- Fixed file path attribute to be used in download action
- Fix sharing list headers
- OC.Share icons now operate on fileList instance
- Fix OC.Share.updateIcon when more than one list in DOM
Added owner display name in action
Fix fileList fallback in OC.Share for outside files app

OC.Share can be used in non-files apps, so the fileList callback needs
to support that as well.
Removed "Share with" column