Moved tryXTimes into io.utils
Made gclient.py PEP8
Wrapped calls to Mail.send() in tryXTimes
Fixes #50