Activity Stream

Branch for activity stream commits. Still WIP. Will post comments in https://assembly.com/buckets/bounties/82 to keep it all in one thread.
Is all the escaping necessary? Since we're supplying the resource ourself, and it goes through SafeString below-