Added err option to prompt(), confirm(), pause()

This option works the same way as with echo(). Tests are passing for prompt() and confirm() but not for pause(). Any idea why? However I manually tested and confirmed it works, but no idea why pause() doesn't produce output in the test.

Fixes #211.