Make necessary changes to serval-dna for JNI

1. Patch commandline.c so that the JNI function
expects a serval instance path as the first
parameter.

2. Patch servalwrap.c so that it looks for
libservald.so in the proper place.

3. Consolidate patches into one directory.

4. Update README for moving patches to patches/
Introduce components for servald integration
Modify profile editor to include MDP SID lookup
Protect from NPE in LinksActivity.onDestroy
Refactor getMdpPeers

1. Consolidate the ListPreference manipulation into
this function.

2. Disable the ListPreference function when ther
are no sids.

3. Prepare the ListPreference when the activity is
resumed so that the user can go directly to that
preference without having to go through resetting
their serval path each time.
Add WIFI_STATE_CHANGED permission (and reformat)
Class to Generate Olsrd Conf Files

1. Add a class to generate Olsrd configuration
files.

2. Add a test class to test that class. Get it?
Quote the parameter for a PluginStanza
Remove (temporarily) aFileChooser
Add (back) aFileChooser

This time from the OTI repo.
Modify OlsrdService to Use Dynamic Conf File