Fix doubletap gesture, implement toggle fullscreen/normalized window size

Change-Id: I2b2302e2b594a92c1a2733ce6662b66a721a0da9
Fix cppcheck issues

Change-Id: Ife065d70cceaf41c8d1d7bbecfb39e1a1538be5b
Merge pull request #71 from tribal-tec/master

Doubletap fix, fullscreen/minimize feature, cppcheck fixes