Implement mapKeys

--HG--
extra : histedit_source : b8dee4178555b016c6edf6f998411ce183f9d4d1%2C8b374a431ac084c82fd473a9009799e67ef3549c
Merge pull request #24 from outamaa/master