IMPLEMENTATION: Added a security assert

Should be trigged by unmanaged parameters.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>
IMPLEMENTATION: Managing more automation modes

Gesture beginning/ending is now handled, allowing more advanced automation
modes such as Touch and Latch.

Signed-off-by: Gama <misept.dieseneuf@gmail.com>