internal/v4: implement debug/status endpoint

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

Thanks for preserving the order :)