Add support for //gmd:OnlineResource/gmd:protocol detection for resource format assignment

Modify the guess_resource_format function to use regex and better detect format patterns in OGC service URLs
Merge branch 'resource_format_detection_fix' into noaa_dev