[FIX] account: remove orphan analytic lines

If the analytic account is not present on an entry, still removes the Analytic Journal Items linked to it.
Fixes #1194, opw 610784
[FIX] account: avoid closing fiscalyear with unpost entries

As when closing fiscal periods, forbid to close a fiscal year with unposted entries.
Fixes #1194, opw 610784
[IMP] product: name_get matching on commercial_partner_id for suppliers

The name_get of a product will use some information (e.g. default_code) based on the supplier.
The matching of the supplier should use the commercial_partner_id in case the supplier info are on the company and the partner_id in the context belongs to the company (e.g. creates quotation with a contact of the company).
Fixes #1219
[FIX] account_analytic_analysis: invoiced field takes customer invoices only

Besides, it subtracts customer invoices with customer refund invoices
[FIX] auth_oauth: fb and google oauth providers reset on general settings apply

 - The res_config.xml file was missing in the manifest (so couldn't check the use of FB and Google OAuth from the general settings)
 - The default value for these oauth configuration were not set
[FIX] sale_order_date: requested_date editable in `sent` state
[FIX] barcode interface: a lot of deferred were not correctly returned
[FIX] ir_attachment: restrict access to orphan attachments to employees
[MERGE] forward port of branch 7.0 up to eb9113c
[MERGE] forward port of branch saas-3 up to 77500e5
[FIX] web: manual update of select2 lib to 3.5.1 version

The previous version of the lib seemed to be in an inconsistent state.
This fix the select2-offscreen class when the page is larger than
10 000px (this situation happens when importing a file with lots
of column).
[FIX] odoo.py windows compatibility

Prevent infinite loop when installing on windows
Fixes #2825

Tested to work on
* Git Bash v1.9.4 on Windows 8.1 Professional
* Ubuntu 12.04.5 LTS
[FIX] ir_qweb: search assets as superuser

A security has been introduce in eb9113c04d66627fbe04b473b9010e5de973c6aa to restrict access to orphan attachments to employees only

Assets need to be build and accessed as superuser, thus
[FIX] email_template: don't escape the signature, it's a field `html`

Fields of html type are already escaped in database and the method
`append_content_to_html` defaults the argument `plaintext` to True,
then calls `plaintext2html` if this argument is True, resulting in
the html signature being escaped twice.
[FIX] mail: keep breadcrumb on click on chatter follower
[FIX] api: clear environments on module installation
[FIX] website_sale: too tiny quantity input (if qty > 9) for all occurences
[FIX] website_sale: shopping cart quantity width (qty > 9)
[REF] website*: set spinner style in class, instead of inline

This fix is related to:
8298cf6510db906006c43f8c96f712adb2740633
51e399d9acbda42a7ae59226f4302fb7c2a3aed7
9056c58cb8d12d17080ed4e5ede7a6466a0e1f75
[FIX] web: force load record after reload page

When reloading a page, the _actualize_mode is called before the record is loaded and the form is displayed partially in edit mode (o2m fields with delete/add icons).
This patch forces to trigger a load_record when the datarecord has not been loaded yet in the do_show merthod (opw 607910)