[FIX] _handle_exception() logic amongst requests and ir_http objects

Changes in website's ir_http#_handle_exception():

- exception is mandatory, can't be None anymore
- we don't touch non website_enabled requests
- we don't touch explicits plain responses from parent
- logic flow is now easier to read (I hope so)

Change in website's ir_http#_dispatch():

- In case of real 404, instead of returning self._handle_exception(),
  just let parent do the job (so we call super())
[FIX] check after openerp's AccessErrors in website's _handle_exception
[FIX] Sitemap - Back forward from saas-5 5cc1317a5f4525e8748692c69c3854773cf95454 to have the url_root in sitemap
[FIX] Forum / Sitemap - Restrcit the domain from controller, else the sitemap fetch response without the question
[FIX] Forum - Redirect permanently to the question, if post_id in url is not an answer.
[FIX] purchase_requisition: revert f68c835

These changes are not needed anymore with new WMS.
[IMP] purchase_requisition: lint file
Merge pull request #761 from odoo-dev/saas-3-handle-exception-fme

[FIX] _handle_exception() logic amongst requests and ir_http objects

Changes in website's ir_http#_handle_exception():
* exception is mandatory, can't be None anymore
* we don't touch non website_enabled requests
* we don't touch explicits plain responses from parent
* logic flow is now easier to read (I hope so)
* check for openerp's AccessError and convert to 403 errors

Change in website's ir_http#_dispatch():
* In case of real 404, instead of returning self._handle_exception(), just let parent do the job (so we call super())
Merge pull request #765 from odoo-dev/saas-4-sitemap-forum-jke

[FIX] Forum / site map - redirect to question topic and response bypassed by sitemap
[FIX] http.dispatch: call handle_exception() even w/ session missing/expired

This gives JSONRequests a chance to return
a proper JSON-RPC result when an HTTPException
is raised downstream, instead of returning a
plain HTML 404 error.
[MERGE] Forward-port of saas-3 up to 141e1b2
[FIX] website: default mimetype for web-published attachments, avoids crash
[MERGE] Forward-port of saas-4 up to fa739ac
[FIX] Forward-port of saas-5 up to 0d330ca
[REF] product.pricelist: refactored  '_price_get_multi' method

Logic factored out from method '_price_get_multi' of
product.pricelist model:
   - calcaulation of price modification by specific rule
   - getting base price from specific rule
       - getting base price from partner section
       - getting base price from other pricelist
       - getting base price from file of product model
   - getting correct pricelist.version for specified pricelist and date

Reasons:
   - better structure of code.
   - To ease way other modules could extend pricelist functionalyty.
[REF] product.pricelist: refactored  '_price_get_multi' method

Logic factored out from method '_price_get_multi' of
product.pricelist model:
   - fetching pricelist items for specific version and products
   - checking if rule is applicable for specific product