* Replaces device detection logic provided in resource.img with improved
detection facility used by Recalbox. Note: Devices will power on when charging,
this is expected and desired behavior.
* Correct an issue with EmulationStation that causes battery to report 0 sometimes when
full.
* Replaces Powkiddy's function that contantly disables HDMI.
* Modifies boot args to no longer specify HDMI resolution.
* Splits SDL2 into SDL2 and SDL2-rotated.
* Adds environmental options to check for HDMI and if it isn't connected
preload the rotation patched SDL2.