Multi controller

Added support for multiple physical controllers, as well as a configuration GUI to map physical controllers to ports.

Also fixed a few minor bugs I stumbled upon: PS3-Controller mapping, Memory Leak in void mcfg_DestroyDevices(), etc.

I wasn't able to test the multi-controller support for MOGA controllers, although I believe it should work the way I implemented it somebody with actual MOGA hardware should verify this.