Expose IndexWriter and VersionMap RAM usage

Implements exposing the IndexWriter and VersionMap RAM usage added in #6443 to the _cat endpoint. 

Closes #6483