Added support for case-fold-search

Previously, case-fold-search could be set externally, but is now also
offered as an argument.