Reconcile improvements

The automatic reconciliation handles more cases where the partner pays for several invoices at once or when he pays one invoice with several transactions.

PEP8 and headers modifications.

Small bug fixes.