storing activity ids for each receiver to allow messages to be sent to multiple monitors

This diff will be easier to read if you ignore whitespace changes (you can append "?w=1" to the URL of the diff).

I'm keeping track of the activity id for each receiver, allowing us to send messages through the cast API to the different receivers. Previously we only stored the last activity ID.