Overload of string functions for std::string.
section_exists and key_exists rewritten in modern c++.