Factor out convertQuotesToTags() method from ext.core.QuoteTransformer.

Change-Id: Ie8ad42546473d0aa93f733459ac0a8c8b0f38d3f
Merge "Factor out convertQuotesToTags() method from ext.core.QuoteTransformer."