unmount /data on user request for /data/media devices

Change-Id: I86723215edb8c5d256bdd380ff1806729aa81a8f
clean up reboot to main system and remove old useless variables

Change-Id: Idf8cda0639e3fa5e6073b196a85899c57ca18e9b
Merge "clean up reboot to main system and remove old useless variables" into cm-10.2
Swipe: make swipe thresholds uniform across devices

Devices with high screen densities require very small swipes to activate
a key. Make the swipe distance uniform across devices by using the screen
density from ro.sf.lcd_density and activating a key based on the following
thresholds:
  Left/Right swipe: 0.5in
  Up/Down swipe: 0.3in

Change-Id: I39fe4b1007a4e4784d3d7d26a392d78b1adf9462
Merge "unmount /data on user request for /data/media devices" into cm-10.2
Merge "Swipe: make swipe thresholds uniform across devices" into cm-10.2