Fixes and tweaks for OpenSL.
Use GCC atomics to avoid locking in callback.

Conflicts:
	audio/opensl.c
Use 44.1kHz audio on Android.

Should be toggleable (or use autodetect if present on Android 4.2+).
Fixes audio on Nexus 10 in my test case.
Check for hardware sampling rate automatically.
(Android) Use NativeActivity wrapper
Merge pull request #260 from Themaister/opensl-upstream

Fixes and tweaks for OpenSL
Purge SDL/GL context.

Conflicts:
	gfx/context/sdl_ctx.c
(Android) Don't use JELLY_BEAN_MR1 constant as it wasn't available on
prior Android versions - use int keycode instead - also implemented
stub onTrimMemory/onLowMemory inside NativeActivity wrapper class
Take out GRIFFIN macro hacks
PACKAGE_VERSION is defined now in general.h for all versions
Add instancingviewer .info module file
Merge git://github.com/libretro/RetroArch

Conflicts:
	android/phoenix/src/org/retroarch/browser/RetroArch.java
	audio/opensl.c
	configure
	gfx/gl_common.h