Bus: receive notifications

It follows the JSON-RPC protocol: a notification is similar to a
request except for the id, which is not needed.
Activity: send activityPause and activityStop notifications

Activities can add listeners to those events.  An activity that
handles 'activityStop' can also call event.preventDefault() to prevent
the close, and explicitly call activity.close() after storing.