IrcMessage: limit parent type to IrcSession*

IrcMessage needs access to the IrcSession in order to initialize
the flags and stuff (own msg, caps etc.) properly so the parent
will be from now on limited to IrcSession*.
Cleanup IrcMessage
Add IrcMessage::fromParameters()