synaptics_3k: sweep2wake, stroke2wake & doubletap2wake

Includes pretty dirty hack to fix in-call behavior. I made proximity
sensor to report to synaptics_3k its status so I could skip touch
handling altogether when proximity sensor status is "near".

Also having some trouble with mem sleep states so made another dirty
hack to wait for i2c_transfer() to return non-error value. This should
be revisited to find a proper fix.

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 @pnoire for throwing refreshing ideas at me.