fix key check, enumeration error and update API_PATH
Merge branch 'giantbomb' of https://github.com/Giacom/xbmc into giantbomb