CMFileManager: AOSP GET_CONTENT_DATA compatibility

This change brings compatibility to GET_CONTENT_DATA for AOSP apps when
using the PickerActivity:

* Detect crop extra; use the com.android.camera.action.CROP action of Gallery3d
to crop and return the requested image. This gets compatilibity for example with
the contacts app, when a user try to set the image of a contact.
* Detect android.provider.MediaStore.Audio.Media.EXTRA_MAX_BYTES; when this extra
is present the PickerActivity only display (and allow select) files with a size lower
than requested.
* Detect Intent.EXTRA_LOCAL_ONLY; useless until CMFM allow access remote file systems.

Change-Id: I1020458505b236653e869ec1c1f532dd6d686633
Issue 6606: CM File Manager will not Remember Selection for "Open With" menu

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6606

This patch makes the next changes:

* Make the internal editor exportable. Now it can be treated as another activity and can be mark
  as preferred activity, but only for text/* and some text mime/types. For undefined mime/types
  categories, the internal editor is still used in a non preferred mode (internal editor cannot
  be marked as preferred)
* When the internal editor in a non preferred mode is selected, 'remember' checkbox is hidden.
* Improve preferred activity resolution
* Allow clear a preferred activity on the open with dialog (when 'remember' checkbox is unchecked)
* For better compatibility, the internal editor now ignores the ACTION_EDIT action, so opened
  files are always editables (with the exception of binary files that they are opened always as
  read-only)
* Improved onIntentSelected with better NPE and internal editor checks

Change-Id: Ie42990a6c0ccbdd4bfab6ec23ae27cc808cac7b7
fix for sdk 15 (ics) - no android.annotation.SuppressLint

Change-Id: I0bc6fa69dfe30ac2b6de0507092a4503445f2568
Revert "update command list, use toolbox path directly"

This reverts commit 0f5d108bbc3286b120e88d1a5e103f923f909ce4.

these XML files are now in the jordan overlay folder (ics)
Update Hungarian translations

Change-Id: Iaccfae69ced0570d61661858d8803d0630826fd8
CMFileManager: Add Greek translation

Patchset 2: Remove untranslatable strings

Patchset 3: Add missing themes translation

Change-Id: Ica0afe84cdd9fac9c243c817eb407a5d098e2410
CMFileManager: Check shell commands on startup

This change improved the detection of CM rooted devices with support for all the
commands used by CMFM. In case of one of this command was not detected, the app start
in chrooted-java mode (with limited support).

Change-Id: Ie0f61d74f9619f476ea517c1b3c03ec453e033f3
CMFileManager: updated romanian translation

Change-Id: Ie230346ac607626432a41bcc36ad445ac16da520
Signed-off-by: igoriok <igor_sorocean@hotmail.com>
CMFileManager: Escape $ on prepared arguments

Escape $ character when passing arguments to shell. xe: create new file with  name "$My Documents"

Change-Id: I939d830beaa4c372aa679f3d27f7c691a29c421e
CMFileManager: Add Japanese translation

 - Initial Japanese translation for FileManager.
 - patch-2: Add translation for theme.
 - patch-3: Revised translation for theme.

Change-Id: Ie234334b2c09e2093976410046bdc990acd8ad9d
CMFileManager: Formatting

Change-Id: Ia3e72bdad1882afbb151d2f04340a1af88c20682
CMFileManager: PickerActivity: debug requested paremeters

Add requested parameters to logcat for better debugging.

Change-Id: I52e362ca8ad4b3687b78ee92e18e3015a6e645e0
CMFileManager: Compress type selection dialog has an invalid background

The background dialog for selecting the compression type has an invalid color.
The valid color is the background color of the dialog.

Change-Id: Ib5ecf1c59e5c99ccd6ed8707646b718ca88dbcd9
CMFileManager: Fix quickfoldersearch command for files with whitespaces

This change fixed the quickfoldersearch command used by InlineAutocompleteTextView
widget, when retrieve items with some whitespace in its name.
Replace awk by cut command, and redirect stderr output of ls to /dev/null.

Change-Id: Id039e573dc5e6ae5755b3251f014f34cd104f426
Issue 6722: CM File Manager can not Play/Start files recorded with CM embedded Soundrekorder

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6722

Updated "video/3gpp" and "video/3gpp2" mime/types extensions

Change-Id: I5c04a582ea5f961dd6387602613d5b2248a9ff5e
CMFileManager: pt-pt translations

Patchset 1: initial translations
Patchset 2: dark theme translation

Change-Id: I3e2873f4574207eddfe5666180521d79a1c19e34
Issue 6743: CM FileManager can't recognize file types if named with capital suffix

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6743

Added case compare to extension and mime/types.

Change-Id: I394472e03b5a92590088fdebbb75dd13ee4bade2
PT-BR: Added missing translations + Issue 6676 fix

Change-Id: I3ddefe0ef5c71314f17845df0db4a3fa022e6ec2
updated italian translation

Change-Id: Ia788ea90c7841803b587a0892c17da2fa6c4ef18
Issue 6769: The bottom bar of pop-up boxes in CM File Manager should be “Done” or “OK” rather than “Cancel”

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6769

Changed "Cancel" to "Ok" in FsoPropertiesDialog and FilesystemInfoDialog.

Change-Id: Id92ea897afae69e059da661a13350bc7020509c4