Add libretro support

This adds support for libretro. Platforms:

- PC (Linux/Mac/Win)
- PS3
- Xbox360
- Android