xbmc: add common addon code to profile.d