Joypad autoconfig

Joypad autoconfig for Linux. Fixups to retroarch-joyconfig as well to support this.