Porting to PircBotX 2.0 (and formatting)

Simple mending of the code to fit it to the new PircBotX 2.0 stuff.
(http://repo1.maven.org/maven2/org/pircbotx/pircbotx/2.0/pircbotx-2.0.jar)

And some code formatting like removal of trailing whitespaces and such.