[FIX] mail: more robust parsing of In-Reply-To/References (OPW 608919)

When parsing incoming messages, ignore white-space around
In-Reply-To headers, and extract message-id items inside
the References header using a regex.
This actually serves as a workaround for broken MTAs
mangling References (such as outlook.com nesting past ones
with commas, violating RFC2822).

Closes #516 as a manual rebase.
[FIX] web: chain close action on wizard confirm

If a wizard has several steps, or laucnh a second wizard, the view from where has been loaded the initial wizard is finally reloaded
[IMP] Optimize the schedulers of the calendar, fetchmail and base_action_rules modules

Disable the the crons when they'd have nothing to do, re-enable them when a
task is (probably) introduced
[FIX] account_payment: lin2bank correct fallback condition
[IMP] web: extra comments to explain commit 57b4860

Added some cryptic comments so we remember a bit
why we have a complicated dance with on_close.
Basically we do not want to reload the
original form view until the last popup is closed,
in the case where several wizard (steps) are opened
one after the other.
[FIX] payment_paypal: avoid json decode error

with post.pop('custom', '{}'), if the key 'custom' is not there, it will return '{}', but if the key is there, but the value is equivalent to False, the json decode will fail.
[FIX] website_forum_doc: forum.documentation.stage readable by all
[FIX] mrp: do not reset back stock moves to confirm

For instance, setting a BOM Phantom with:
Finished product: stockable, MTO Manufacture
Components: stockable, MTS, Buy. Inventory set to 1000
Stock moves of components are directly set to assigned once the procurement confirmed thanks to JIT
The stock moves should not be set back to confirmed after they have been assigned
[MERGE] forward port of branch 7.0 up to 7307227
[IMP] Courtesy of kevin3274 issue 1258: orderpoint should have float multiple instead of integer
[FIX] Size for icon field of ir_module_module table in base.sql
Merge pull request #2173 from pedrobaeza/8.0-module_icon_field_size

[FIX] Size for icon field of ir_module_module table in base.sql

fixes #2095
[IMP] crm_partner_assign: remove inexistant onchange

This field is readonly so a onchange is useless anyway (opw 612593)
[FIX] openerp.api.Environment: move recomputation todos into a shared object

This fixes a bug which is usually triggered in module account_followup, but
does not occur deterministically.  Some recomputations of computed fields are
apparently missing.  Environment objects containing recomputations todos and
kept alive by a WeakSet, are removed by the Python garbage collector before
recomputation takes place.  We fix the bug by moving the recomputation todos in
a non-weakref'ed object.
Merge pull request #2178 from odoo-dev/8.0-wmsmultiop-jco

[IMP] Courtesy of kevin3274 issue 1258: orderpoint should have float mul...
[FIX] account: invoiced button values must be calculated as the user

Otherwise, if done with the superuser:
 - The multi-company rules won't work, the user will have the amount of all invoices, cross-companies
 - The amount currency will always be the currency of the superuser
[FIX] account: several fixes on the new bank statement reconciliation widget
[FIX] correct css computation to remove unnecessary toolbar
[FIX] stock: on partial picking, do no open a new window action if not needed

This is related to rev. dd4d72d

Not opening a new window action allows to keep the current list of stock picking being threated, and to use the next an previous arrow of the forom view of the web client.
[MERGE] forward port of branch 7.0 up to 5872c24