[ADD] Request with lazy rendering support
[FIX] Response default mimetype
[FIX] convert endpoint responses only if it's the current request endpoint
[REM] Completely removed LazyResponse
[IMP] Warn if invalid response type is returned for a request@type=http
[FIX] Correctly handle super() for decorated routes and keep the request type on all functions
[FIX] Don't crash if no host specified
[IMP] Refactor CROS support
[MERGE] upstream
[REM] removed Request's getattr proxying to httprequest

This might be a problem when merging the new api so we let it as is for the moment
[IMP] Improvement/changes to the http request/response API.

- Added http.Response object
- @http.route decorator wraps methods in order to convert returned value to Response object
- http.Request.func* variables moved to http.EndPoint class
- moved _first_arg_is_req backward compatibility feature in EndPoint class
- CORS support moved to new http.Request object
- Added a #render() helper on request object as a companion of #make_response() that will return a lazy qweb rendering response
- Extra check in routing_map() in order to forbid the chabge of request type in @http.route arguments inheritance
- Fix crash happening when no Host header is present in the request
Merge branch 'master' of bzr::lp:openobject-server