Wrap libXBMC_peripheral.h helper in ADDON namespace
Implement events API and improve joystick scanning API