xbmc/xbmc — pull request #5712 by zzattack (2014-11-12 23:31:27+00:00)
Title: [buttontranslator] fix keymap overrides not working

I found an issue with buttontranslator that I introduced in https://github.com/xbmc/xbmc/pull/5364 causing keymap overrides to no longer work.
This is due to the line
``` C++
(*w)[windowID].insert(map.begin(), map.end());
```
which would cause duplicate actions being added to the actionmap for a specific window instead of actually overriding them.

The remaining changes are simply dding constness where it makes sense.