MW5 WMS Support love
Description
Grouping several issues in this one:
invalid temp file names are generated for the WMS if the base url already includes a query (? character)
default image format should be 'image/png' if available or the first format returned, not the third item or the first item returned by the service (current behavior)