Made case sensitiveness optional in DecomposedURL.match_extensions().