[MIG] Migrate currency_rate_update to V8.

@nbessi 
I still have to review the security files, waiting for your opinion what needs to change to comply with the OCA rules (being my first big contribution).
You can write it

    rate.rate = res[curr.name]