Added LOGOUT command processing. Fix command CAPABILITY processing.
Added more tests for ImapSession.
Added dummy Service class.