Enough functionality restored that testAdhoc and isAdhocSupported succeed!

(Assuming the zip is extracted by the calling code beforehand).
Added isApModeSupported() to AdhocController.
Added in some more SharedPrefs functionality and comments for some classes.

The comments attempt to help me (and others) understand what each class
is for and whether it's useful to us for Rangzen.