Optimize Query mconcat by using using ByteString concat

This adds an explicit implementation of mconcat for Query, which should be more efficient for large concatenations than the default `foldr mappend mempty`.