[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
[FIX] website_sale: too tiny quantity input (if qty > 9)
[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
[ADD] contribution files and image removed at 2ad092b
[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
[IMP] website: add snippet for floating picture
[IMP] ir_qweb: allow to display a datetime like a date
[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] api: clear environments on module installation
[FIX] website_sale: too tiny quantity input (if qty > 9) for all occurences