Update handling-metadata.md

Update the docs around metadata to explain how to retrieve it from a PromiseArray resulting from a query. I became very confused trying to understand how to do this.