Revert "Sort cores directly in core_info_list_new, so Lakka and XMB get a sorted core list"

This reverts commit d8d6984cd22bc32abd254f0434959833e44c4c72.
Android: Initial early core downloader implementation
Merge pull request #1285 from lioncash/android

Android: Very early initial core downloader implementation
Log when context driver fails to bind API.

Some generic cleanups to context init as well.
Merge pull request #1286 from CautiousAlbino/master

Log when context driver fails to bind API.
Add sha1_calculate (takes a filename path)
Move SHA1 text to proper place
Add Categories and System info to 'Core Information'
Core Information - add Core Name / System Manufacturer
Remove unused/stub 'Cheat Settings' setting
We're not going to use 'cheat database' from bsnes XML cheats,
but for our more general-purpose cheats in cores
Runloop - early return if g_extern.cheat is NULL
Fix nasty breakage when joypad index >= MAX_PLAYERS.

No bounds checking and joypad index is apparently now unsigned so old
"disabled" values in config will now overflow instead ...
Merge pull request #1287 from CautiousAlbino/master

Fix nasty breakage when joypad index >= MAX_PLAYERS.
Cleanup load_content a bit
Set new pathname basedir in case extraction_directory has not
been set
Fixup fill_pathname_basedir in load_content
content.c - Add HAVE_COMPRESSION ifdef around code block
Cleanup some useless casts
Cleanup some useless casts pt. 2