Adding logging functionality for user quit.

1. userQuit() logs the act of the user quitting the network.
2. Made changes to bot.py wherever the % formatting style was used. The format() function is the newer style.