Merge pull request #12 from egelmex/master

Lots of updates....
Passed die message onto the plugins
Made registering plugins have an extra name field to refer to them by
Changed the module list to conatain tuples rather than lists.
Added unloading of modules on the fly
Adding a method for stroign chan info, not wired in yet
Merge branch 'master' of https://github.com/Tatskaari/EarlTheIRCbot
Made earAdminPlugin conform to the way all the other modules work
-stopped passing it SendPid and used sendPid instead
-renamed the entry point to it's name rather than start
Moved #unload to the admin module
Added dynamic loading of modules
Stopped unkloading of the admin plugin in an amusing way
Made telnet exit gracefully
Fixed disconencting bug and made telnet session clean up after themselves.
Stopped it joining bottesting automatic like... Mex
Fixed primesTo and commented/cleaned up some code.
Made primesTo use io_lib:format("~w") rather than ~p which means they are all on one line and can be sent to IRC nicely.
Made the prime functions do input validation (ie `#isPrime I like trains` won't work now)
Bug fixes on input validation and some other touch-ups
Begginning to move the message routing out of IRC parser. Currently quite broken.
Message routing successfully moved into new file.
I was dumb and didn't think to add `messageRouter.erl` into the compile script...
Fixed issue #18
Added some smarter input validation, also modified the range of primes to reflect the definition of prime.