Publish/subscribe pattern for DOM updates after AJAX database manipulation

Replacement for #183. Recoded from scratch.

- [x] Noticed when doing the final test: In a delivery form, only those stock articles of the current supplier should show up.