feat(client): initialize profiles in entry.ts
- Initialize profiles database on app startup
- Migrate existing profile directories to profiles.db
- Use active profile from profiles.db instead of env var
- Fallback to PROFILE env var for dev/testing
- Ensure default profile always exists