changed the IRC class to use a proper singleton pattern

this de-statics all of the IRC member variables, adds a few utility methods to the IRC class itself, and makes all of the commands and listeners access the IRC via a getInstance() method.
Also added .gitignore entries for the IntelliJ IDEA