Fixes usages of String#toLowerCase() without a Locale.

Replaces #toLowerCase() with #toLowerCase(Locale). #toLowerCase() without a Locale may lead to unexpected results in JVM with Turkish locale (s. JavaDocs of String#toLowerCase()).