Add 'encode' option to BaseHtm::error()

Sometimes it is very usefull to append to error message a link. We can't add it while error message is encoded.