Correctly replace " and ' and change split chars.

Added replacement of  &quot; with "
Changed check() to replace &#39; instead of just &#39
Changed terminator of definition from ; to ; "
This is so that normally used semicolons don't terminate the definition,
only semicolons that signify the start of an example quote.
also strip the ... string from the end of definitions.