Merge pull request #221 from csmith/master

Switch IRCDocument over to timestamps.
Move some logic into parser factory.