Added MDArray::toQueryString() to format an array to url query string.