Adds a double click action.

Includes a little refactor to get xdotool into its own module and controller.
This includes some simple tests around those actions.
I should probably break out xmacro as well now.