Settings : Update gesture preference check

Move the gesture outside the stylus dependency check and remove the
preference category if no children are found

Change-Id: I05ecf71dc84f5244200e3030b5ee524944339145
Merge "Settings : Update gesture preference check" into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2