Added mechanism to send HTTP status codes...

... depending on error. This currently breaks the tests, as the
HTTPURLConnection throws an exception, if a HTTP error code is returned
by the server.
Tests now are HTTP status code sensitive

That goes for now only for tests that expect an ExceptionReport
Merge pull request #150 from bpross-52n/feature/http-statuscodes

Feature/http statuscodes