* ThreadLocalSqlite.cs: Finer grained timeout checking.

* IrcComm.cs:
* MeidoCommon.cs: Add IsJoined method.
Major overhaul. Change how the chains are represented in the database
and track who uttered sentences/chains with Sources and SrcMap.