Port to gtk3

This is a consolidated patch based in the work from Aneesh Dogra
in git://git.sugarlabs.org/~lionaneesh/irc/lionaneesh-irc-gtk3_port.git