Add algorithm argument to get_hash
Use salt.utils.pycrypt to generate hashed password
compatible lower Crypto version

RHEL6/CentOS python-Crypto is v2.0.1
adjust salt to crypt_salt for gen_hash