#332 Improving document metadata cache in document browser table

The new document metadata cache only examines each metadata value in the corpus once rather than looping through all metadata values for the entire corpus for each document.