Change error number to distiguish JsonRpc error number from "no internet connection" error number.
Rewrote gettext support. Language switching is no longer done by switching locales, but by switching textdomains.
fixed wrong error number
Changes to how the query strings are parsed. This should partially fix #5, but issues remain.