typos and nits
Update getMessagesBeforeMessage to treat date/id as a point, rather than a message that must exist.
Add GELAM tests for outbox cases as requested by @asutherland.