Refactor duplicate test code into a run_test subroutine.
Merge pull request #599 from SaberUK/master+configure-tests

Refactor duplicate test code into a run_test subroutine.
FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() them from clientlist
Call ModeParser::Process() directly instead of going through the CommandParser

Simplify the way how m_conn_umodes assembles the modes it sets