(Android) Simplify intent grabbing with JNI
(Android) get_environment_settings - make it more readable
(Android) JNI - Cache getIntent and getStringExtra jmethodIDs
(Android) Add "USED" intent extra to RetroActivity
(Android) Big changes -
- both MainMenuActivity and RetroActivity are single instances now
- AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered
- onBackPressed right now calls an instance of MainMenuActivity
(reuses the existing activity on the stack)
- User can switch back and forth between RetroActivity and MainMenuActivity
with AKEYCODE_BACK / Back button
- When a subsequent intent is launched after RetroActivity has already been
started up once, the pending intent gets passed to the existing RetroActivity
throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do
- With this we can now switch seamlessly between Android UI and RetroArch
itself.
(Android) Camera - add logs to every JNI call - for 4.4 debugging
(Android) Camera - don't spam log in android_camera_poll for now
(iOS) Change default_libretro_info_path
(iOS) Will now log to XCode organizer device console
[Android] Make CoreSelection and HistorySelection statically instantiable.

Allows showing the dialogs without the need for an actual variable or ugly "new HistorySelection(fm, tag).show();" syntax.

Also moved the else if for "Quit Retroarch" to the bottom of the if statements so its structured relative to the UI.
[Android] Make a field a local variable in DisplayRefreshRateTest. It's not used elsewhere, so this is safe.
(iOS) Fixes to internal logging
Merge pull request #397 from lioncash/master

Misc cleanup
(OSX) Fix build
(Android) Camera-  take out logs
Merge remote-tracking branch 'upstream/master'