Use hashlib instead of md5, even for python 2

Pystan already requires python 2.7, which comes with hashlib.
Actually, hashlib comes with all versions of python since 2.5.

I see a deprecation warnings when I import pystan (using
python 2.7) because python tells me md5 is deprecated.