New metaquery api

Currently a work in progress
What order will the matches be returned in? Order of `<meta>` source order appearance? Hmmm…