Add generic HttpResult class

This commit add `HttpResult` which is intened
to be used as a http mock return_value.
It allows setting status code, response body and headers.
It is more generic than `HttpCode` and should be used
instead of it in all new code.