Create gmaillib.py

gmaillib.py re-created with built-in support for logging out of server.