[Android] Fix a bunch of input bugs.
Looking at the old code for the ButtonManager was a brainfsck. This fixes a ton of bugs I kept uncovering as I was moving along.

Fixes the gamepad configuration file being incorrect.
No longer treats touchscreen in a special way. Ends up as a regular device with a "Touchscreen" device name.
Was incorrectly converting a index from integer to ButtonType. Wouldn't work due to the addition of some unused(in JNI) enumerators in ButtonType.
Fixes an issue where a map had a key as an axis which was causing its binding to be overwritten for every axis that was used twice (eg main stick left and right);
Fixes Triggers not working at all.
Fixes DPad not working at all.
Fixes C-Stick only half working.
Removes touch screen specific nativelibrary types onTouchAxisEvent and onTouchEvent.

Adds a configuration version configuration option. Allows easy configuration overwriting if the options need to be changed during updating.

Supersedes github PR #291.
BS2 emulation: set up a reasonable BAT during startup.

It doesn't really matter much at the moment given our current terrible MMU
emulation, but it will start mattering once our MMU emulation gets more
accurate.
JIT: Simplify redundant if statements for memcheck.
JIT: unify two branches in SafeLoadToReg.

Should behave the same as it did before.
JIT: make backpatch handle sign-extend from 8 bits correctly.

I don't think this is actually possible to trigger at the moment... but
it matches the implementation of SafeLoadToReg.
Fix error message when D3D11 HResults fail.
Prevents showing the wrong function name by putting a space between the function name and "Failed".
Also fixes the capitalization.
When updating netplay player list, reselect by string instead of index.

Fixes issue 7284.
Make sure netplay player IDs are actually unique.

Fixes issue 7329.
Get rid of the temporary buffer in IniFile's Load function.

std::getline is the string-based equivalent.
Merge pull request #403 from RachelBryk/netplay-player-selection

When updating netplay player list, reselect by string instead of index.
Merge pull request #429 from RachelBryk/netplay-pid

Make sure netplay player IDs are actually unique.
Merge pull request #421 from CarlKenner/MissingSpace

Fix error message when D3D11 HResults fail.
Merge pull request #420 from magumagu/backpatch-s8

JIT: make backpatch handle sign-extend from 8 bits correctly.
Merge pull request #433 from lioncash/ini

Get rid of the temporary buffer in IniFile's Load function.
Merge pull request #419 from magumagu/jit-load-store-cleanup

Jit load store cleanup
Merge pull request #399 from magumagu/bsemu-bat

BS2 emulation: set up a reasonable BAT during startup.
Make GetBPRegInfo just take two strings as parameters

Gets rid of the size parameters.
Merge pull request #411 from lioncash/fifo-cleanup

Make GetBPRegInfo just take two strings as parameters
Remove the min/max functions in CommonFuncs.

The algorithm header has the same functions.
Merge pull request #334 from lioncash/use-std-minmax

Remove the min/max functions in CommonFuncs.