internal/v4: implement debug/status endpoint

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

done.