Sync peripherals API
Use array helper to create/free joystick buttons, and document xbmc_peripheral_utils.hpp
Update peripheral add-on after API sync
Sync peripheral API with latest fixes from joystick add-on
Fix log level namespace
Fix segfault: if the high-order word is zero, then lpProcName is the function's ordinal value
Add ability to override peripheral type in xbmc_peripheral_utils.hpp
Fix pointer not being initialized to NULL in xbmc_peripheral_utils.hpp
Change assignment to do implicit conversion
Fix add-on joysticks not being identified as joysticks
Update device name when initializing joystick feature
Fix segfault
Revert "Allow CGUIWindowManager to have multiple callbacks"

This reverts commit 7ebb1493581c7c056d093753749aa0b75e551a86.
Fix build after revert
Fix segfault from CStdString conversions
Revert "Fix segfault from CStdString conversions"

This reverts commit d0e8550be6a5d437a4767ef75c2db45d5a19d143.
Fix segfault