Rewrite to PircBotX

The whole bot was turned upside down in order to use PircBotX with its new message system.
The code is not fully documented atm.
Please refer to https://code.google.com/p/pircbotx/wiki/EventSystemExplained for information about the new library