Fix - partner_id in contract_contract_service.py
The id recieved as "partner_id" comes from Tryton, and corresponds to
the partner_id.ref
present in the Odoo DB.
Fix the misunderstanding by retrieving the actual partner_id.id from the
related ref value.
Update tests from contract contract service.