MT#5879 Replace invoices to separated controller.

CRLF windows git makes issues with on VM run. Some files were converted manually.
MT#5879 Separate template and invoice.
MT#59879 Unify interface template names.
MT#5879 Separate invoice and invoice template interfaces.
MT#5879 Use get_contract_rs as clients list sub.

To be replaced by direct query.
MT#5879 Save calls queries.

Stopped on clients conditions.