Move translate_keysyms to bindings.[ch]

Additionally add a check so the function only handles bindings of type
B_KEYBOARD to prepare for the new bindmouse feature.
Bugfix: don't try to resize docks by command

cmd_resize does not implement a method to resize dock clients.

A command like `[instance=".*"] resize grow width 160 px or 16 ppt`
when a dock client matched would crash i3.

fixes #1201
Merge branch 'fix-resize'
Merge branch 'master' into next
Revert "Close window(s) on middle click"

This reverts commit 68038a58670fb84fb2687357fcab65404ec5a3aa.
Revert "Don't manage desktop type windows, only map them"

This reverts commit 350e678fc42e9a1eb406d5ac4a08e68ad9204571.

Conflicts:
	include/atoms.xmacro
	src/manage.c
Revert "Handling _NET_WM_STATE_STAYS_ON_TOP window state (useful for most KDE4 popups)"

This reverts commit d98a2a108e7fb1b18eeaa97cb29f55c0d6422644.

Conflicts:
	include/atoms.xmacro
	src/manage.c
Revert "Allow focusing to change to worskpaces that are not visible"

This reverts commit 94d54966f3239f53545c375e51e08ba5ae7d2eb3.
Revert "Fix for invisible borders after restart when composite manager is running"

This reverts commit 90c7e7e0a224b2c5e87000ef7faa09cf666f7586.

Conflicts:
	include/data.h
Revert "Fix crash in some situations"

This reverts commit e2e3ac8abe13e906cb3577f8e8d5961f38ee8cfe.
cleanup after revert commits
Merge branch 'next' of git://code.i3wm.org/i3 into next