Refactor code.

Refactor the code base according to pylint. Module name is changed from
xchat-crypto.py to xchat_crypto.py to follow standard Python
conventions.