Dev: report: amend 354228
Fix garbage characters in prompt (issue#7)

When tab completion returns help text instead of completion,
the resulting re-printing of the prompt leaks readline escape codes
to the prompt. To avoid this, store prompt without color information
and handle the colorization separately for the help completion.
Merge pull request #8 from krig/garbage-prompt

Fix garbage characters in prompt (issue#7)
parse: Unify API for err(), fix error

There are two different implementations of the
err() function in parse, one in BaseParser and
one in ResourceSet. This led to a bug where one
was called expecting the API of the other.

This commit fixes that bug, and makes the two
functions have the same basic API.