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
Needed @hide here

Signed-off-by: Chintan Shah <cgintan1998@gmail.com>