payroll_l10n_fr: Python3 compatibility

This fixes compatibility for python3, especially with hash randomization
(PYTHONHASHSEED) turned on.

This also enables coding style test that was not running for this bt,
after fixing everything flagged by coding style test.

See merge request !1892
3 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.UnitTest-Master

02:12:21

passed SlapOS.Eggs.UnitTest-Master.Python2

00:13:35

passed Wendelin.UnitTest-Master

00:42:34