Add method to add line with a timestamp.
Remove unused methods and tidy a little.
Replace old addText method with new one.
Tidy up trimming.
Merge pull request #221 from csmith/master

Switch IRCDocument over to timestamps.