Update handling-metadata.md

Update the docs around metadata to explain how to retrieve it from a PromiseArray resulting from a query.
Merge pull request #1474 from danlucraft/patch-2

Update handling-metadata.md