Fix KeyError on QUIT event

The trigger object passed by a QUIT event doesn't include a sending
channel, so bot.privileges[trigger.sender] in coretasks.track_quit() was
throwing a KeyError. The bot now loops through and removes the
triggering nick from privileges for all channels, avoiding the error.
Merge pull request #349 from saltire/quitfix

Fix KeyError on QUIT event