Use list of ids to add taxes on account

issue3852
review5141002
(grafted from 14bed7dcc94e45e65607aaebd4ebefedfc47d3ed)

--HG--
branch : 3.0
extra : source : 14bed7dcc94e45e65607aaebd4ebefedfc47d3ed
Fix sorting by account in GeneralLegder

For now, sorting on account will sort on the name of the account
and not the id.

issue3851
review5151002
(grafted from 62cdce402928402e5612ab467c0740f1c8a27026)

--HG--
branch : 3.0
extra : source : 62cdce402928402e5612ab467c0740f1c8a27026
Prepare release 3.0.4

--HG--
branch : 3.0
Added tag 3.0.4 for changeset 82ea34d49634

--HG--
branch : 3.0
Increase version number

--HG--
branch : 3.0