Check for presence of DeviceSpecific settings or else remove Advanced Settings tab

The best thing to do would be to revert the rewrite by gosukjx and add the original CM implementation.
That includes the safety valve and credits the actual author.

Change-Id: Id35866c7099cb3eaf4977d8cafb95b095c479401
Add CM's MTP/PTP options

Change-Id: I3bafeff12c98d43066cd1dcab52ee546ece67ee6
Merge branch 'pa-4.2' of https://github.com/mateor/android_packages_apps_Settings into pa-4.2