[fix] Streamline metadata retrieval
[fix] Streamline metadata retrieval

Reduces number of queries to server from n to 2.  Because we can be rate
limited on SQL queries this improves the speed at which larger sets of
data can be retrieved.

anthonyfuentes/hubzero-cms,anthonyfuentes/hubzero-cms,zweidner/hubzero-cms,zooley/hubzero-cms,zweidner/hubzero-cms,zooley/hubzero-cms,zooley/hubzero-cms,anthonyfuentes/hubzero-cms,zweidner/hubzero-cms,zooley/hubzero-cms,zweidner/hubzero-cms,anthonyfuentes/hubzero-cms