internal/v4: implement debug/status endpoint

As newly documented in the charm store.
Not all entries are implemented yet.

And even add it in a DebugStatus struct?