Issue #684. HPO term definitions with quotes in them are trimmed up to the first internal quote.

Changed regex in SolrUpdateGenerator.