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.
Merge pull request #197 from tvierling/test_cleanup

Use a real IRC object in some tests.