fix to make pycoin work on the Google App Engine

On the Google App Engine hashlib doesn't support ripemd160, but PyCrypto is available.

This fix checks for PyCrypto availability and uses it in case is available, as a workaround on GAE.