Fixed typo.
Added writePublic() to CoinRequest
Use java.security.SecureRandom
Merge branch 'mjethani-fixes'