Fix file descriptor leaks
Merge branch 'testing' into fix/fd-leak
Merge pull request #534 from nyuszika7h/fix/fd-leak

Fix file descriptor leaks
Fix previous merge.
Fix previous merge (again).
log: Add support for Logging's 'extra' keyword argument
Merge pull request #535 from bnrubin/master

log: Add support for Logging's 'extra' keyword argument
add short options to getopts. single letter options will work with both - or --
Merge pull request #536 from ddan39/addshortopts

add short options to getopts. single letter options will work with both - or --
Merge branch 'master' into testing
Add classifiers to setup.py (Python 3.x and natural languages).
.travis.yml: Disable 'the build passed' message.
Later: Always prefix nick if telling in channel
Merge pull request #538 from nyuszika7h/fix/later-tell-prefixnick

Later: Always prefix nick if telling in channel
Do the previous commit in a more clean way
Merge pull request #539 from nyuszika7h/testing

Do the previous commit in a more clean way
Google: *copy* the utils.web.defaultHeaders before adding items to it.
Eliminate unnecessary closing of the log file.

Name returns a string that is the log file name: the channel plus the timestamp.
But on my system log.name returns the fully qualified path to the currently open file. This is because log is a file handle, so if you declare it with a path, it will be included in the name.
On systems were logging is not in the current directory, the two will never match, and the file is closed and then reopened.
Only taking the basename solves this problem.
Ensure log files are UTF-8 encoded

The default encoding is platform specific, so problems can arise if we do not
make it explicit. Especially on Windows. Freenode appears to be all UTF-8, and
irclib is giving us UTF-8 strings, so let's standardize on UTF-8.
Merge pull request #540 from esplinr/master

ChannelLogger: Improvements to file handling.