Create method Ui.error analogue to Ui.puts and Ui.warn.

When creating the Ui.puts method we also replaced some put calls to stderr
with Ui.warn. This however is wrong for cases where stderr receives an
actual error and not a warning. These errors are now handled by Ui.error
in the same way that other STDOUT and STDERR output is handled by Ui.puts
and Ui.error.