Merge branch 'trigger-parameters' of git://github.com/Venti9874/willie
[core] Tweak docstrings for new hostmask attribute.

Issue #255 and Pull Request #257
[core] Add ping timeout checking

When server sends us a ping, we reply. Before this commit, we relied on the
server to send us an error message to disconnect us if we timeout.

In many cases, Willie will not get this message from the server,
especially if the connection is out for more than few seconds.

This commit fixes this issue by making sure to disconnect if we don't get
pings in time.

It also adds a new config value, timeout, to set the ping timeout.
default is 60 seconds.
[core] Sleep for the configurable timeout, not 60s

Otherwise willie will take too long to detect configured timeouts lower than 60s
[ai, bucket, fuckingweather, nws, roulette] Remove modules

Issue #243
They will be made available in http://github.com/embolalia/willie-extras
[core] Fix capitalization issue in nick blocking

Should finally solve issue #232
[config] Include ~/.willie/modules in module enumeration
[lmgtfy]Rename def (CC #258)

Signed-off-by: Dimitri Molenaars <Tyrope@TyRope.nl>
[core] improve rawlog

Improve the raw connection log to ease debugging by indicating which lines are line we got, and which are lines we sent
[core] improve ping and timeout handling

We should reset the timer on every recived message, because if we got a message the connection is working.
Also, 60s is too low, so I doubled it.
Some servers send pings in much larger intervals, so we should send pings ourselves if we didn't recive anything in a while
[core, reload] Sove long-standing error where function names in different modules could conflict.

Our issue number for this is #258. myano also has it in his as #45.
[core] undo a minor mistake from a6d44eb
[core] Solve issue where reloading module caused duplicate calls

Functions were not replacing their old versions when reloaded, due to the
previous fix to them replacing other functions with the same name. Now,
the key is module_name.function_name, which should avoid both problems.
Unregister and unbind modules from willie.bot when they are reloaded.

-Adds methods unregister and is_callable to willie.bot.
-Adds code required to remove references to willie callables, in modules
 themselves and willie, to willie.modules.reload.
Merge commit 'b47b88ee79f3b5586654c1da4653a81bbf77d37d' into reload_fix

Conflicts:
	willie/bot.py
Merge branch 'reload_fix'

Conflicts:
	willie/bot.py