Add something like Haskell's "error" function.

It is in Debug.Error.  It prints the source location that it was called
from and a user-supplied message before terminating the program.

Fixes #1692.