Lowering minSDK from 8 to 5.

Running lint shows no dependencies on minSDKVersion 8. Lowering the
minSDK to 5 allows bundling this library with a greater number of
applications.
Changing target to F-Droid default

Using target=android-17 to force a default build target consistent with the rest of F-Droid.
Remove signing and uploading from build.gradle

This fixes its usage in the F-Droid client
Correct AIDL typo, update gradle, update SDK
gradle: rename testPackageName into testApplicationId
close socket on verification issues
use AndroidCAStore as trustStore instance on ICS and later