Made a utility module and adapted existing code

It contains a function to add global key bindings and one to add client
rules.
Fixed main taglist bindings

...by changing "modkey" to "MODKEY".
Code cleanup