Cleanup to libretro_install_core
(menu_common) Add missing header include
Cleanup more folders.
(iOS) File browser features:
	It's now possible to rename files.
	Allow moving a file into its parent directory.
Add input_libretro_device_pN setting.

Allows input device type to be saved in a config, which tremendously helps usability
for PlayStation 1 cores.
Add video_rotation.

Replaces g_extern.console.screen.orientation.
Rotation semantics have slightly changed to be more composable.
The rotation is now video_rotation + rotation set by cores themselves
(if allowed).

The config is now also saved properly.
Merge branch 'master' of github.com:libretro/RetroArch into configswap

Conflicts:
	settings.c