Fix warnings in ChatCore.State.Internal module
Implement chat buffer acid state system

- Store a list of buffers in the acid state database.
- Mark buffers as active or inactive.
- Automatically join active buffers on startup.
Refactor ChatUser.

Split the main `chatUser` function into smaller components.