Minor optimization in DeviceServiceEntry when setting up
to share all drives. Removed the call to strlen() and use
the return value from _snprintf
Merge pull request #1578 from ntwerdochlib/drive_channel_tweak

Minor optimization in Drive Channel
Resource cleanup fixes.
Redirected debugging to logcat if build for android.
Removed unneccessary include <spawn.h>, which broke the build.
Added native android build scripts.
Added generation of android ndk build scripts.
Modified ant build target.
Added ndk-build detection.
Modified ant build target.
Using new library destination path for android.
Setting correct debuggable now depending on configuration.
Android App version now configurable from cmake.
Fixed invaid setting of android app default version.
Added missing <config.h> include.
Enabled native building support.
Modified build to allow native debugging with eclipse.
Modified build to allow native debugging with eclipse.
Modified build to allow native debugging with eclipse.
Explicitly setting debug format now, as the shipped gdbserver is
not compatible with the default options for all toolchains.