Fix: libcommon, tools: Define additional GError domains.
And then use them in the tools. G_OPTION_ERROR is a domain for use with
problems in command line option processing. I've been using it for
everything, which is wrong. I'm not sure where these error domains come
up, but we should use the right ones.