Fix Action: add IDs everywhere

Fixes #217. This is a cherry-pick from the refactoring branch.
fix #216: rename view.resources to view.assets
Fix #219: don't act on non-room disco replies

Related: #207
Merge branch 'dev' into feature/207-refactoring