atmel: sweep2wake, stroke2wake & doubletap2wake

Some of the code and ideas taken from these repos/commits:
https://github.com/Mustaavalkosta/htc7x30-3.0/commit/adec359240f0d5fa72e42e5732e53a3f27269dff
https://github.com/n3ocort3x/endeavoru_3.14
https://github.com/TeaMSeven/android_kernel_htc_m7-sense
https://github.com/dorimanx/Dorimanx-SG2-I9100-Kernel/

Additional thanks to buggage @ XDA for testing this.