(OSK) Move runtime state (OSK callbacks) to g_extern
(OSK) Cleanup conditionals in menu_common.c
(PS3) Split up OSK code into separate file
(PS3) Get rid of CELL_SDK_VERSION macro if conditional
Some V4L2 cleanups.

Avoids global state for buffers, and make processing loop a bit simpler.
Fixup CXX_BUILD.

Cleans lots of sign-related warnings as well.
Clear out camera/ on make clean.
(RGL PS3) Turn rglGcmFifo into a struct instead of a C++-style struct
(ie. class)
Update libretro camera API.

Need initialized/deinitialized callbacks to properly
handle driver reinit.
(RGL PS3) Using namespace cell::Gcm can go now
(PS3 RGL) Don't call cellGcmSetAntialiasingControl
(PS3 RGL) Replace more GCM_FUNC calls
(RGL PS3) Replace more GCM_FUNC entries
[Android] Initial huge underlying UI update:

- The UI is now mostly Fragment-centric (finally!)
- The Load Core, Load Game, Load Game (History) are now DialogFragments.
- The directory activities are killed off and consolidated into one fragment named DirectoryFragment.

DirectoryFragment is now a self-contained instantiable DirectoryFragment that can be instantiated anywhere by doing roughly the following.

DirectorFragment dFrag = DirectoryFragment.newInstance(/* Resource ID for a string title here*/);
dFrag.show(getFragmentManager(), "tag");

There are also other methods that were modified within the DirectoryFragment, such as addAllowedExt and disAllowedExt being changed to support a variable amount of arguments. This way, multiple calls of the same function aren't necessary in the case of adding multiple extensions, as well as supporting the case where only one extension is added.

DirectoryFragment also has a new interface added to it called OnDirectoryFragmentClosedListener. Say you have a DirectoryFragment instance, but want to use the selected item's path for something *after* the dialog has closed, with this interface, it is now possible. Just implement this interface within an Activity or Fragment, and then set the DirectoryFragment to use the listener through setOnDirectoryFragmentClosedListener() method.

Now what happens if this isn't set, wouldn't it be pointless to even use a DirectoryFragment in this case?
Not necessarily. What if you only wanted to save the selected item into the applications SharedPreferences?
This is a situation where it would be unnecessary to need that interface. So, to make a DirectoryFragment.java for the sole purpose of saving a selected directory/file path to the SharedPreferences, you would do this:

DirectoryFragment dFrag = DirectoryFragment.newInstance(/* Resource ID to a string title here*/);
dFrag.setPathSettingKey("key to store value in SharedPreferences at");
dFrag.show(getFragmentManager(), "tag");

Outside of these major changes, large portions of the code outside of this were simplified.
{Android] Fix a string's casing and structure.
[Android] Finish the RetroTVMode activity when it launches the activity within its onCreate. Avoids a blank view when the launched activity finishes.
[Android] Simplify the setting of the AlertDialog in function detectDevice. setMessage allows setting the message through just the message string ID.
[Android] Cache the context in MainMenuFragment. Makes things look nicer, also gets rid of a few variable declarations.
Merge pull request #388 from lioncash/master

[Android] UI revamp/decoupling.
(RGL PS3) No more GCM_FUNC calls inside rgl_ps3_raster.cpp