added debug target
added remaining commands (commented out)
updated diagram to include state names
added Close() method, cache raw file handle so that it can be closed later
added INTERNALDATE and BODYSTRUCTURE fetch data items
temporary parser
removed many extra test messages
added mailboxserver API for accessing different mailbox types. Implemented mongodb mailboxserver.
added dummy auth implementation
hopelessly large commit. checkpoint of all checkpoints.