models: implement Invoice.as_html

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
models: rename InvoicePayment.find_all_by_payment_id to find_by_id

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>