web: add handler cleanup, rename vars
web: increase initial add form postings to four

We can't enable typeahead in dynamically added postings currently,
so increase the number of postings shown initially.
web: add form ignores trailing blank fields

Empty final account/amount fields are now ignored. Empty fields
followed by non-empty fields are not allowed.