Added const qualifiers to String case functions

changed String::toLowerCase() and String::toUpperCase() to have const
qualifiers