[8.0] account_chart_update: several improvements and fixes

These changes help handling a massive restructuring of the tax of charts as the one occuring right now in Luxemburg.

I tried to preserve a clean history, so each commit should be self-explanatory.