Improved error handling of oonibclient

It's counterpart is in https://github.com/TheTorProject/ooni-backend/pull/52
It serves as a base class to all errors from the backend under /input url, it's like the OONIBReportError