[#1530] remove swig, M2Crypto

change importing sytle in tests for passlib.hash