Merge pull request #467 from PGGB/master

Fixes #448 and #463
Gambatte: added custom palette support

Looks in /OpenEmu/BIOS/palettes/ for rom_name.pal,
internal_rom_header_game_name.pal or default.pal formatted for example:

Background0=11846369
Background1=15851184
Background2=9917014
Background3=0
Sprite%2010=0
Sprite%2011=16316664
Sprite%2012=14778518
Sprite%2013=8337480
Sprite%2020=0
Sprite%2021=16316664
Sprite%2022=14778518
Sprite%2023=8337480
Merge pull request #468 from PGGB/master

Cg support
Removed edit menu and disabled services menu item until #469 is fixed
Removed the Open Recent menu item
Break a recursive cycle caused by OEHUDWindow being its own delegate
Merge remote-tracking branch 'origin'
Reenabled Service menu item
Gambatte: enable RTC saves
Added edit menu back in

This reverts commit 3ec757bb4863149d1d351bde820cb53411d9170d.
Removed 'trigger' from GBA and SNES controller prefs
Reorganized N64 controller prefs
Implement SDL threads and condition variables (not tested)
Mupen: fix an issue with thread stubs
More SDL_NewThread fixes
Fixed the copyright notice in OECgShader