[NonHierarchicalGenePool]: Added specialization for std::string

Added a specialization method for std::string, because it doesn't have a
toString().