recovery: Move SwipeDetector into common location

The SwipeDetector class is used almost unchanged in all locations.

This patch moves it into the recovery module, from which devices can
reference it if required.

The class is now renamed to WearSwipeDetector.

Bug: 27407422
Change-Id: Ifd3c7069a287548b89b14ab5d6d2b90a298e0145
diff --git a/Android.mk b/Android.mk
index 4477fef..5b488ca 100644
--- a/Android.mk
+++ b/Android.mk
@@ -41,6 +41,7 @@
     ui.cpp \
     verifier.cpp \
     wear_ui.cpp \
+    wear_touch.cpp \
 
 LOCAL_MODULE := recovery