Some tests were broken with Mojolicious 5.0

Tests using Mojo::IOLoop->generate_port were broken by mojo 5.0. Replaced Mojo::IOLoop with Mojo::IOLoop::Server which still has this feature.
Told ctcp test to ignore possible comment on qw in ctcp.