Add support for ChatPost to SqlitePostDb.

Also, modify ChatPost to accept a Collection<Dialogue> rather than a
List<Dialogue> in its constructor.