Use a real IRC object in some tests.

Additional functional tests of window.irc.IRC will need a full
object embedded in these tests, so make use of a real one rather
than an anonymous skeleton object.

While here, do some major CoffeeScript cruft cleanup.