Add IrcConnection::saveState() & restoreState()
Add IrcBufferModel::saveState() & restoreState()
Fix auto tests on Windows

Move the split -hack from tst_IrcUserModel to waitForWritten()