[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).
Why did the lines changed?