Anki add-on: Prevent Double Click

Prevent Anki from automatically going to the next card if not enough time (configurable, default 1 for questions and 0.5 for answers) has passed. Useful to prevent double clicks/double space bar presses. My girlfriend's mouse was double clicking and since I'm too lazy to fix the hardware issue I solved it with software. I saw some other people requesting this, so I hope it works for them too. This is an upgrade of No Space Dash-Prevents answer for 1.5 seconds (Fixed by Shige) , which I used as a starting point after I was too confused with the documentation/source and wasn't able to use hooks. I may update it accordingly at some point.