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.