Use IsANSI() to detect ANSI-compatible output terminal
make IsTerminal() work on Windows
prompt for confirmation on destroy

Accepts confirmation via pipe to stdin, or prompts the user to confirm.

Fixes #90.