Feature #1203: Case-insensitive matching for contrib.files.contains()

Adds keyword argument `case_sensitive=True` to contrib.files.contains().