bump to android 19 and appease eclipse
bundle spongycastle 1.5.0 internally

fixes #2425
drop min sdk to Android 2.2 now that we bundle SpongyCastle

fixes #2182
tests: add additional checks for null return value

a null value indicates the crypto failed