DocumentsUI: Allow open files instead of URIs

Check files' real path and mime type to open them only in standalone mode.
This allows, for example, installing apks.

Change-Id: I4501c694db84b8595cd3928752254a8914539972
DocumentsUI: Remove catch-all statements

This removes several "catch (Exception)" statements which violates the Android code
style guidelines and hides problems.

I left some catch-all statements in, as they seem to be intended like this (grep for
"catch (Exception").

I suggest we do not merge this before we are sure that we fixed any problems. One problem
is a crash when deleting items (I'm currently working to fix that).

PS 2: Add exception to log.
Change-Id: I483c320c7ee256acd993dd2a509c031fa5e3f09e
base: DocumentUI: fix a few issues handling remote content

http://jira.omnirom.org/browse/OMNI-956
http://jira.omnirom.org/browse/OMNI-950

Change-Id: I8d50d71a9c91486dfc9e5da01538c6b5a626f054
DocumentsUI: catch berserk apps on building recents

We should not crash Documents app because of that

Change-Id: Ie89a10c5005aef7f3e75a4f5a17f018e0fbc0814
DocumentsUI: fix recursive delete

Create one DirectoryLoader in UI thread to use for delete

Change-Id: I83a5811f152090f7812ad58ff4ee3bc13748d158
Documents File Manager: Show advanced devices by default
DocumentsUI: Fix the issue of download status was displayed incompletely

The layout arrangement of date, size and summary are unreasonable.
Text was ellipsized when summary has too much characters.

Reconfigure "layout_weight" of date, size and summary can fix this
issue.

CRs-Fixed: 619201

Change-Id: I0c00d08d4793a38b80988378b4b510bdb3bf8720
Set ActionMode title to the number of selected files

After change of orientation ActionMode is recreated without previously
set title. It needs to be updated in onCreateActionMode callback.

Change-Id: If5f36e8ad6d1b5cf04ed242611fd037969d73517