Add SecureRandom fix for certain versions of Android

This is a fix for SecureRandom on android versions <= 4.3 as described on
http://android-developers.blogspot.ch/2013/08/some-securerandom-thoughts.html
There is only a minimal difference between the patch from that article and
this - a bit of reflection was added to make this work on API 3.