Add some debug logging to various spots
Changed logging level to info to see if it'll work
Add local logging instance to try to resolve why they fail
Scale back the debug/info logging a bit
Logic fix to the pattern matching for urls and protocols
Debugging mods
More debug of iteritems
More trial and error...
Attempt to use sorted to resolve iteritems issues in protocol_identifiers dics
Add a numeric-indexed dict in guess_resource_format to prioritize comparison rules
Add explicit call to convert to dict resource_type_dict
Change format names for png, pdf, jpeg etc and attempt to differentiate both .kml and .kmz in GeoServer
Further attempt to resolve both .kml and .kmz in GeoServer matching
Remove some possible erronous parts of the regex expressions
Attempt to use raw regex strings with re.escape()
Use string formatting to feed regex raw string pattern generation
Fix format syntax for raw regexp
Change logging level for verbose debugging to debug from info