Sync peripherals API
Use array helper to create/free joystick buttons, and document xbmc_peripheral_utils.hpp
Update peripheral add-on after API sync