Merge pull request #177 from CatalystG/master

(BlackBerry) Fix PlayBook crash
(PS3) Move cellSysUtilCheckCallback to gfx_ctx_swap_buffers
Get rid of set_blend callback - the rgui draw texture function is
now in charge of making sure texture is properly blended - note
to OV2/maister - test if this breaks D3D9 PC driver and if so
fix accordingly
(RMenu) Run glClear or equivalent function at start of driver_frame function
so that we can use rarch_render_cached_frame for menu purposes at
all times (instead of doing explicit clearing in our menu loops
beforehand for low-RAM modes where no menu texture is being drawn
but we don't want ghosting in the picture)
(GX) Build fix (in light of removing set_blend function pointer)
(PS3) Don't spam cellDbgFontDraw - do it once per frame and
instead just increase the buffer
(RMenu) Do video rendering in RMenu after input - same as RGUI - will also
avoid having to 'skip' video swap when doing the render cached
frame call
(XDK1 RMenu) Don't call texture_image_render for panel anymore in rmenu.c
(RMenu) No longer rely on MODE_MENU_DRAW
Rename cg2xml to cg2glsl.

Outputs CGP/GLSL style shaders now.
Use CGP/GLSL-style format on Android and iOS.
(GX) Make Wii/Gamecube gx_video no longer depend on MODE_MENU_DRAW
Add initial GLSL loading in RGUI.
Fix crash in shader browser.
(RMenu XUI / 360) Made RMenu XUI independent of MODE_MENU_DRAW - MODE_MENU_DRAW
removed
Remove superfluous wcstombs / mbstowcs wrappers
(Android) Some leftover Android garbage that was never expanded upon - scrub
(Blackberry) S_ISDIR would be broken if left undefined on Blackberry -
figure out what the deal is here
Simplify some _WIN32 includes
(Filebrowser) Get rid of unnecessary filebrowser_init