idresolver: add DevDirectory for .test TLD handle resolution
Add DevDirectory type that wraps BaseDirectory and intercepts .test TLD
handles, resolving them via the PDS's com.atproto.identity.resolveHandle
endpoint instead of the standard DNS TXT / HTTP well-known methods which
cannot work for non-routable TLDs.
For all other handles and DIDs, it delegates to the underlying BaseDirectory.
This enables local development with real handle resolution (no handle.invalid)
while keeping normal resolution for production handles.
Add DefaultDevResolver() constructor that creates a Resolver with a
DevDirectory wrapping a cached BaseDirectory.
AI-assisted: GitLab Duo Agentic Chat (Claude Opus 4.6)
Signed-off-by: Alessio Caiazza <code.git@caiazza.info>