[FIX] web: keep pager in popup list view

When an action opens records in list (or other) mode in a popup (target:new), the pager should be kept. It can be removed in form view.
Fixes #742
[IMP] models: improve query generation for _write() and _store_set_values()
[FIX] mail: partners with missing/invalid emails must not halt notifications to others
[FIX] web_kanban: wrong condition to reset the dataset index

This is related to rev. a218a9ed3f6c965820f2ebdf76ee0e6c89c59a0c

The condition is good, but not in the right place: It should be done once all read_slice (all columns records) are fetched, not at each read_slice end
[MERGE] forward port of branch 7.0 up to be7c894
[MERGE] forward port of branch saas-3 up to f7a76cb
[IMP] point_of_sale: show traceback when there is a posbox error
[IMP] models: improve _mapped_func(), and add parameter 'reverse' in sorted()