Add the ability for typer.js to rewrite the whole string rather than being 'smart' about it.

In certain cases it looks better if the whole string is replaced rather than the difference. This PR allows typer.js to replace the whole string.