add support for readString()

Add support for readString() method in libconfig.