Made messageQueryListData and messageQueryStats more robust.

Changed messageQueryListData to return a list of messages for a
specific mailing list as an array.
Modified messageQueryStats to return statistics on a specific message
as an array.