Handle single quotes in strings in a portable way

Replace `''` (two single quotes) with `'` inside a string literal. Also handles more than one single quote (`/'/` vs. `/'/g`).

Makes everything use the `escape` method from `driver/base` instead of inline `.replace(…)` calls in two places.

Renders PR #143 obsolete.

I'm not sure if duplicating "insert" tests just to include single quotes inside title is a good idea. Maybe I should've added them to existing "insert" tests?