Consolidate lib/ directory structure
Reorganize from 11 subdirectories to 2:
- lib/imap/ - standalone IMAP client library
- lib/imapd/ - consolidated server library
Modules renamed for clarity:
- Types -> Protocol (IMAP protocol definitions)
- imap_auth -> Auth
- imap_parser -> Parser
- imap_server -> Server
- imap_storage -> Storage
- imap_read -> Read
- imap_write -> Write
- imap_client -> Client
- imap_client_error -> Client_error
- imap_client_pool -> Client_pool
Access via Imapd.Protocol, Imapd.Server, etc.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>