Modified WFS MIME checks to allow for a subtype or optional parameter

I modified the WFS MIME checks for JSON to use startsWith (like the GML check) because I discovered the Content-Type for text types may include an optional parameter charset on some web servers.

I also modified the checks in the getExtensionForMimeType method to use the isGML and isJSON methods to ensure the same results when checking the MIME types.