NavBar IME Cursor: Option to use Home / End instead of Up / Down on longpress [1/2]

Change-Id: I775a1ae75823ba49f3bcb1c4ab9c3d958918ac08

Conflicts:
	core/java/com/android/internal/util/slim/ButtonsConstants.java
	core/java/com/android/internal/util/slim/SlimActions.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
Revert "Fix crash when clicking a file from recents or downloads"

This reverts commit 61dfa05a7b7b8c44925d852cb2ab1de7d0ea34c2.
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