New clean_invoices method that takes care of invoices paid in advance.

When a contract is cancelled, if there are paid invoices in advance by
the sponsor, it will :
	- cancel them
	- remove the invoice_line of contract
	- split payment and reconcile if possible
	- if not possible, put a move_line name that will warn the person
	  doing the manual reconcile.