doc: Added Lioncash's much-improved inline Java documentation for EGL.

Highly recommended for working with GameSurface.java.
(cherry picked from commit 586c27e3dac8de92f23d5b75b7070923435a5836)
res: Add (debug) to version string.

To avoid confusion between releases in the crash reports.
(cherry picked from commit 1641a903203889edb5a4f5de5affa382b95907a5)
jni: Suppress benign compiler warning.

This suppresses the warning:
  "note: the mangling of 'va_list' has changed in GCC 4.4"

Apparently benign:
https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/mrk5dDqWioM
(cherry picked from commit 45541ea7e49c86299c396bdf83f980e1f7547982)
git: Fix EOL attribute syntax for bash scripts.

(cherry picked from commit b80b90d2dceba638ac2f63413c36c9062bd18012)
bugfix: Validate list preference values on load.

This eliminates problems when list items are removed between releases.
For example, if you remove an available input plugin, and the user had
been using that plugin, you want the app to quietly revert the setting
back to the default value.
(cherry picked from commit df531e24951e3b1e2a8ac4e9ac0cf5556f6891e5)