Handle Content-Type HTTP headers with a charset appended.

The fix for #4585 in cgiutil.c is also needed in mapows.c to handle Content-Type HTTP headers with a charset appended.
Small fix to shpxy in templates