Added support for undo/redo for the bind tool operations.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>