Add limited support for multi-buttoned mouse control

Limited because:
- Long presses still send a right click.
- Elements in some puzzles cycle through all states rather than
  toggling state for each button.

This will also affect control for styluses with buttons.
Merge pull request #177 from doopl/master

Add limited support for multi-buttoned mouse control