Optimize backend for waartaa

This includes some code refactoring to optimize waartaa in the following ways:
1. Reduce CPU usage by ``mongodb``.
    It seems that ``observatory`` was the main culprit for this.
1. Store channel nicks and nick info in global collections.
1. Bugfix in node-irc module.